NfNitLoop ("Cody Casterline ๐ณ๏ธโ๐") wrote:
RE: https://neuromatch.social/@jonny/116667022863059853
"The tests are theater".
Goodbye TDD, hello TDT - Theater Driven Testing.
I have seen this professionally. Hundreds of lines that test that the data that was passed into mocks comes out of the mocks. Tests that test nothing important. Or don't test what they claim.
But if you say "Hey, these tests look pretty useless, let's delete?", someone will chime in with "Tests are good! We want code coverage!"
Rather than argue, it's easier to just delete the tests when some refactor breaks them. ๐ฎโ๐จ