How do I name my test methods?Hello there! It's great to be back here, ready to dive into unit testing again. Today, I want to share some valuable techniques that I personally use to give effective names to my unit test methods. Naming things can be a challenge for many developer...Oct 29, 2022 · 4 min readpoliciano.com
Make your tests cleaner using the Fixture PatternEvery unit test has an arrangement step where we set up the test preconditions. In this step, we often need to provide some input objects to the subject under test. Providing these objects can become pretty verbose and painful to write. Let's see som...1MFeb 2, 2022 · 4 min readpoliciano.com
What should I test?I got stuck when writing unit tests When I started writing unit tests, I faced a problem that you are most likely facing now. I've watched some unit test tutorials, but I got stuck and didn't know what to test when I put it into practice. Should I te...Jan 22, 2022 · 5 min readpoliciano.com
Start Unit Testing right nowMost likely, you've heard about unit testing and know what it is. I found unit tests out in 2011, but I actually used them just in 2018. Writing unit tests has brought many benefits, both for the apps I develop and my career, but why did it take me s...Jan 14, 2022 · 6 min readpoliciano.com