|
|
|
|
|
by nullserver
718 days ago
|
|
I inherited an ancient project that had literally tens of thousands of test. I reviewed hundreds of them, tried rewriting dozens of them.
Eventually, realize that essentially all of the tests were just testing that mock data being manually manipulated by the test gave the result of test expected. Absolutely nothing useful was actually being tested. Some team spent a couple of years writing an unholy number of tests as a complete waste of time. Basically just checking off a box that code had tests. |
|