News for hackers. Stuff that matters.
Re:Ask HN: How long do your unit tests take to run? by benjiweber on Tuesday November 11, 2014 @05:54AM (#8589254)
20 seconds for about 5000 unit tests and 5 minutes for full suite of integration/end to end tests.
Re:Ask HN: How long do your unit tests take to run? by topherific on Tuesday November 11, 2014 @07:54AM (#8589549)
Exactly the same situation -- the actual unit tests are fast but when we run our integration tests it takes (relatively) forever. Which is a shame as it causes the developers to run the full test suite a lot less often than they should, and we end up catching problems right before we expected to be able to push code.
Re:Ask HN: How long do your unit tests take to run? by buildops on Tuesday November 11, 2014 @11:41AM (#8590721)
Have you tried using any tools to speed up your integration tests? Something like Typemock Isolator which can run only the relevant tests during the build or IncrediBuild which can use unused network resources to speed up slow builds.

How often are you testing?

Re:Ask HN: How long do your unit tests take to run? by aquilligan on Tuesday November 11, 2014 @06:07AM (#8589277)
Yip, unit tests are like lightening. Integration tests cause the bloat. We cut a significant amount of time off by using https://github.com/grosser/parallel_tests
Re:Ask HN: How long do your unit tests take to run? by atmosx on Tuesday November 11, 2014 @06:07PM (#8592907)
What framework/language/computer-specs?

ps. Just the idea of writing 5.000 unit tests gets me depressed.