More on Test Doubles
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...
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...
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.
High coverage is a necessary but not sufficient condition. I think we can all agree on that.
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...
When a function is long, it normally means it is complex, and hard to read. One would have to use an inline // comment to tell himself what this code was wri...
“They run fast, they help us localize problems”. This is how Michael Feathers defines the qualities of a good unit test. This can be hard to accomplish when...
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...
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...