Juan-Carlos Gandhi (
juan_gandhi
) wrote
2014
-
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?
Flat
|
Top-Level Comments Only
no subject
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).
no subject
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).
6 comments
Post a new comment
Flat
|
Top-Level Comments Only
[
Home
|
Post Entry
|
Log in
|
Search
|
Browse Options
|
Site Map
]
no subject
If it's ok to delete code, it should be ok to delete tests.
(I do both all the time).
no subject