Ugh, another discussion about tests and the person wants to remove all "destroy tables at the end of the test" step, 'cause "tests are slow".
If your tests are slow, your system is slow. Fucking up tests won't solve this.
Ugh, another discussion about tests and the person wants to remove all "destroy tables at the end of the test" step, 'cause "tests are slow". If your tests are slow, your system is slow. Fucking up tests won't solve this. 2 comments
@Gargron Dunno. Maybe the framework does. But it kills me that the solution for "tests are slow" is "let's set a whole state before every test and never clean up after each one" and not "Hm.... if our tests are slow, maybe our system is slow". |
@juliobiason Wait, why not truncate the tables?