XCTestCase lifecycle
XCTestCase has many methods as part of its lifecycle. It has a class setup method that executes only once before ...
XCTestCase has many methods as part of its lifecycle. It has a class setup method that executes only once before ...
In the FizzBuzz code challenge, we had to write the following test method: Although the test is easy to ...
In many articles about TDD, you will find the term SUT, which refers to the System Under Test. Using SUT ...
There are many benefits of writing unit tests. The test we write can serve as a documentation of what the ...
According to Wikipedia (https://en.wikipedia.org/wiki/Cyclomatic_complexity): Cyclomatic complexity is a software metric used to indicate the complexity of a program. It is ...
In the FizzBuzz code challenge ,we end up having eight test methods; in more complex classes, we may have more. ...
We have seen this Kata on this post: http://trikalabs.com/fizzbuzz-kata/ so you can practise it first alone if you prefer. Let’s ...
TDD is an iterative software development process consisting of three steps: Red. Here we start by writing a failing test. ...
FizzBuzzThrow Kata FizzBuzz Throw is a variation of the famous FizzBuzz Kata and specifically aims to focus on working with Errors. ...