Our integration tests are very similar to our unit tests, with the major difference being that our integration tests actually launch our application. Due to this, these tests run considerably slower than our unit tests:
WebStorm's detailed Mocha test logging shows that our integration tests suite runs about 12 times slower than our unit test suite. At this point, this time difference is clearly negligible, but as we scale up, it can easily became a bottleneck if our integration tests are taking too long. It's important to consider this hidden time cost of higher-level testing, and reinforce why it's a good idea to have more ...