karma-runner / grunt-karma

Grunt plugin for Karma.
MIT License
468 stars 116 forks source link

Slow karma tests #125

Closed marcelijanowski closed 8 years ago

marcelijanowski commented 10 years ago

Hi, At moment I have something like 1800 tests and all stuff I taking about 10s. Is there way to speed up by splitting test to run parallel. I have also question about autowatch because I'm running unit test in background and would be nice to only run tests file that change. This is my current config to autowatch

server: {
      configFile: 'test/unit/karma.conf.js',
      singleRun: false,
      autoWatch: true
    }
nmccready commented 9 years ago

Yes use https://github.com/sindresorhus/grunt-concurrent

nmccready commented 9 years ago

Now with the grunt-concurrent said; there is a significant problem with specs being run slower now with going to the 0.12.X releases. In 0.10.1 my tests run within reason.

Please see https://github.com/karma-runner/karma/issues/1608

nmccready commented 8 years ago

This should be closed especially since #1608 shows the most likely problem is huge blobs.