When it comes to unit testing, testing a component is a crucial way to validate our component is working properly or not. By definition, a component is an implementation detail, it can be a class, or struct, or similar to that. Let's say we have a use case component. This use case is responsible to … Continue reading Introduction to Test Double : What and Why We Need It?
The Gherkin Language : BDD Specs
What is Gherkin? Gherkin is a universal language that easily understand by all people on the team. It is actually describe the business value of an app, and it is user oriented document. This language format, or syntax, is also known as a BDD (Behavior Driven Development) Specs. Why we need it? There are some … Continue reading The Gherkin Language : BDD Specs
Improve Your Unit Testing Readability using SUT Helper Method
Photo by Markus Winkler on Unsplash Unit Testing is really important to guarantee that the code that we write is work. As a Software Engineer, sometimes dealing with testing can be little bit difficult to read, if we don’t do it in a clean and proper way. SUT stands for System Under Test, is a system … Continue reading Improve Your Unit Testing Readability using SUT Helper Method
iOS UITesting with XCUITests
UITesting is one of test that Xcode provides the developer to test their app specifically for the UI. Apple’s XCUITests provides simpler and easier approach to test the UI of your app. Here, I created simple app that has login view so we can test weather the logic meets valid condition. Let’s dive to the … Continue reading iOS UITesting with XCUITests