surprises

Jun. 6th, 2014 08:09 pm
juan_gandhi: (VP)
[personal profile] juan_gandhi
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?

Date: 2014-06-07 04:40 am (UTC)
From: [identity profile] spamsink.livejournal.com
Oh, yes. Once a hardware is discontinued and out of support, there's no need to test any code generation for it.

Date: 2014-06-07 09:45 am (UTC)
From: [identity profile] nponeccop.livejournal.com
Постоянно. Требования через 5 лет поменялись. Или тест поломался, но после исправления стал эквивалентен другому тесту, который уже был.
Edited Date: 2014-06-07 09:45 am (UTC)

Date: 2014-06-07 10:39 am (UTC)
stas: (Default)
From: [personal profile] stas
Дык конечно, бывает. Код вон - тест вон. Хотя, к сожалению, реже, чем хотелось бы - некоторый окаменевший навоз мамонта приходится по 10 лет поддерживать, потому что клиенты.

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

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

(I do both all the time).

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

Date: 2014-06-09 01:27 am (UTC)
From: [identity profile] archaicos.livejournal.com
Sí, naturalmente.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

June 2025

S M T W T F S
1 2345 6 7
8 9 10 11 121314
15161718 1920 21
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 27th, 2025 04:25 pm
Powered by Dreamwidth Studios