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:
- start karma
singlerun=false, autowatch=false
. - open debug page , grep specific suite (using mocha html reporter).
- change test or file related suite.
- refresh debug page run set of tests again.
- my changes in (3) haven't been picked karma tests still behave if nothing had changed.
this need:
- start karma
singlerun=false, magicoption=true
. - open debug page , grep specific suite (using mocha html reporter).
- change test or file related suite.
- refresh debug page run set of tests again.
- 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
Post a Comment