XCTestCase lifecycle by fragi May 25, 2021 0 TDD XCTestCase has many methods as part of its lifecycle. It has a class setup method that executes only once before... Read more
Make your tests more readable by fragi May 23, 2021 0 TDD In the FizzBuzz code challenge, we had to write the following test method: Although the test is easy to... Read more
@testable by fragi May 16, 2021 0 TDD At the beginning of the FizzBuzz code challenge , we deleted the @testable line of code. What does this @testable... Read more
What is SUT by fragi May 16, 2021 0 TDD In many articles about TDD, you will find the term SUT, which refers to the System Under Test. Using SUT... Read more
Why unit testing is valuable by fragi May 16, 2021 0 TDD There are many benefits of writing unit tests. The test we write can serve as a documentation of what the... Read more
Cyclomatic complexity by fragi November 11, 2021 0 TDD 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... Read more
Easier navigation through test methods by fragi May 13, 2021 0 TDD In the FizzBuzz code challenge ,we end up having eight test methods; in more complex classes, we may have more.... Read more
FizzBuzz Kata – step by step TDD by fragi May 13, 2021 0 TDD 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... Read more
What is TDD? by fragi May 13, 2021 0 TDD TDD is an iterative software development process consisting of three steps: Red. Here we start by writing a failing test.... Read more
FizzBuzzThrow – step by step TDD by fragi November 11, 2021 0 TDD FizzBuzzThrow Kata FizzBuzz Throw is a variation of the famous FizzBuzz Kata and specifically aims to focus on working with Errors.... Read more