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 place where coders share, stay up-to-date and grow their careers.
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.