DEV Community

Discussion on: What’s an unpopular software opinion you have?

Collapse
 
mcampbell profile image
Michael Campbell

Unit testing was in wide use LONG before Rails.

Collapse
 
frothandjava profile image
Scot McSweeney-Roberts

I didn't say unit testing didn't exist. I said it wasn't fashionable. No one in 2005 would have been accused of not being a professional if they didn't do unit testing.

Thread Thread
 
mcampbell profile image
Michael Campbell

Having been there, I disagree, and submit that our contexts are probably different.

Thread Thread
 
frothandjava profile image
Scot McSweeney-Roberts

I was there too. I'm so old I remember when unit tests would have been called white box tests and looked at as an inferior form of test as you can see the code.

I can even remember being told how in the future all we would need to write is the formal spec and the computer would work out what the executable code should be. Needless to say that future never arrived.