unit testing - Can Karma refresh the file changes without running the whole suite again? -


i using karma through grunt. have around 1000 tests , bit painful have them run whenever change file (autowatch = true).

this doing now:

  1. start karma singlerun=false, autowatch=false.
  2. open debug page , grep specific suite (using mocha html reporter).
  3. change test or file related suite.
  4. refresh debug page run set of tests again.
  5. my changes in (3) haven't been picked karma tests still behave if nothing had changed.

this need:

  1. start karma singlerun=false, magicoption=true.
  2. open debug page , grep specific suite (using mocha html reporter).
  3. change test or file related suite.
  4. refresh debug page run set of tests again.
  5. my changes porperly picked , grepped tests run.

if set autowatch=true need whole suite of 1000 tests run in background whenever change file, collapses environment.

i don't think there equivalent magicoption according karma docs but, there way achieve same behaviour?

thanks lot.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -