DEV Community

Discussion on: What are your biggest problems with unit testing?

 
jgrahamuk profile image
Joshua Graham

Interestingly, I had this exact same conversation with someone else after this discussion. We came to a similar conclusion.

Unit tests are like machines that test other machines. It's like that Ikea drawer they claim you can open and close over 1 million times. How do they know you can open and close it over 1 million times? They have a machine that opens and closes the drawer a million times.

Thread Thread
 
teachingtls profile image
teachingtechleads

Correct. Perhaps it's the development community which is behind on the notion of wrapping in testing with their day to day work. Seemingly everyone else does it on the regular.