juan_gandhi: (VP)
Juan-Carlos Gandhi ([personal profile] juan_gandhi) wrote2014-06-06 08:09 pm

surprises

Just deleted one test - the data on which it was based went to the db, so it's not in the code anymore.

Have you ever deleted a test?

[identity profile] sorhed.livejournal.com 2014-06-07 11:13 am (UTC)(link)
Tests are code.

If it's ok to delete code, it should be ok to delete tests.

(I do both all the time).

[identity profile] sorhed.livejournal.com 2014-06-07 11:15 am (UTC)(link)
(this also means — you should refactor tests, you should carefully engineer tests, and generally the less code for the same test coverage, the better).