Yes! And then you generalize your code, but specialize your tests to cover more detailed contracts and corner cases. It means: never follow the same structure in production code and tests as they move opposite directions. That is another common trap.
For further actions, you may consider blocking this person and/or reporting abuse
We're a blogging-forward open source social network where we learn from one another
Yes! And then you generalize your code, but specialize your tests to cover more detailed contracts and corner cases. It means: never follow the same structure in production code and tests as they move opposite directions. That is another common trap.