iOS

Recent Posts

More on Test Doubles

1 minute read

You are here means that you want to know more about test doubles. Examples here will help you save plenty of trouble when testing external systems or compone...

Be honest with if

less than 1 minute read

Here is another topic when we start to chat about statement coverage vs branch coverage. Well-tested code has good statement coverage but not vice versa.

Craftsmanship in coverage

1 minute read

High coverage is a necessary but not sufficient condition. I think we can all agree on that.

Thoughts on human-friendly tests

1 minute read

We write code for our collaborators to understand. If it is just you, why bother yourself to give the proper naming to vars and functions. I call this the se...

Stubbing with function

less than 1 minute read

As we are in 2021, everybody knows what POP is. if you do not. It represents protocol-oriented programming, Apples has shown an interesting technique to mock...

Introducing testing on the chair

less than 1 minute read

This little project of blogging about testing in swift is fully inspired by Google’s testing on the toilet. Testing gives your the confident when refactoring...