#testing
Read more stories on Hashnode
Articles with this tag
Don't rely on things that can change without you noticing them · TL;DR: Tests must be in full control. Problems Unreliable tests Difficult...
Irrelevant data distract the reader's attention · TL;DR: Don't add unnecessary information to your assertions Problems Readability...
Programmers are lazy and seldom try to learn from real business domains · TL;DR: Use real case scenarios and real data (when...
Is the year 2022. We keep programming in the 1950s. · TL;DR: We need to follow one simple rule. Follow the bijection. The new year arrived with new...
If you work on unit testing, sooner or later you will face this dilemma · TL;DR: Don't test your private methods. Problems Breaking Encapsulation Code...
Asserting against booleans makes error tracking more difficult. TL;DR: Don't assert true unless you are checking a boolean Problems Fail Fast...