All videos

Cross your testing boundaries

October 9, 2019

Did you ever have a situation that you had to rewrite your tests after a refactoring? Or did you struggle to even write a test, as it was getting really complicated? Don't worry - you are not the only one and it's the best indicator of ultimate evil - testing implementation details.
In this presentation, I want to show how to avoid many different problems by testing your code on the correct level and with the proper scope when it comes to details exposed in tests. And why "unit" in testing doesn't have to mean the smallest piece of code possible.
I will show a few techniques and tools to make writing tests pure pleasure. On top of this - using TDD in the process.

Tags