DEV Community

Discussion on: Reasoning about slow tests

Collapse
 
robdwaller profile image
Rob Waller

Interesting post which raises a very important point.

I think the specific points about 'slow' being subjective and defining the purpose of the test are important. It can depend on a lot of factors and there is no definitive answer.

Collapse
 
ashleygraf_ profile image
ashleygraf_

Absolutely. I saw a comment while writing this, that not all unit tests are 0.0001 seconds. If you're a browser? engineer testing 100,000s of CSS permutations some take 5 seconds after optimisation. It's a rare case but it most certainly does happen.