|
|
|
|
|
by munksbeer
764 days ago
|
|
Absolutely this! I was very guilty of over complicating test code to use abtractions and reduce boilerplate, but it certainly resulted in code which you could not always tell what was being tested. And, you'd result in nonsensical tests when the next developer added tests but didn't look deeply to see what the abstractions were doing. I now find it is best to be very explicit in the individual test code about what the conditions are of that specific test. |
|