3 ms·
The context is trivial tests which only failed before the developer wrote the code and have never failed since. An example given is a method setting x to 5 and
by inimino 10y ago
The context is trivial tests which only failed before the developer wrote the code and have never failed since. An example given is a method setting x to 5 and then testing that method. Because maintaining code has a cost, tests such as these should be removed.
Regression tests are mentioned later and are not what the author is addressing here.
- cle 10y agoDepending on what language you're using, x=5 may not be as trivial as you think.
- stcredzero 10y agoThe most dangerous tools in the shop are often the deceptively simple and familiar ones.