3 ms·
>Some of the costs associated with tests are: >the time taken to write them. >the time they add to the test suite on every run. >the time to maintain them -
by tpoacher 4y ago
>Some of the costs associated with tests are:
>the time taken to write them.
>the time they add to the test suite on every run.
>the time to maintain them - understand them, debug them, change them when other things change.
To me these are not unit tests in the first place. A unit test is by definition (at least the venerated M. Feathers one):
simple
fast
used either to help understand code behaviour or flag when this changes.
If you're complaining about unit tests and your unit tests arent unit tests in the first place, then no wonder you won't like TDD as a design approach.