You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Files are not re-requested if they are cached by the browser (obviously).
The issue I ran into now is that if I enable coverage testee test/qunit-tests.html --coverage and then run again with it disabled testee test/qunit-tests.html -c testee.json, coverage data is still reported because the files were instrumented on the previous test run. This also happens the other way where coverage data does not show up because a previous run had coverage disabled.
One solution is to do something similar to what Karma does and add a cache buster to the URL. If I remember correctly, Karma always adds a parameter like ?=234242411542 to each JS file requested.
The text was updated successfully, but these errors were encountered:
We can't add parameters because that would mean rewriting every link that we find. Karma has more control over it because it runs it in its own environment. The best solution is probably to get https://github.com/ekryski/launchpad to handle profiles and create a new temporary one on every run (see bitovi/launchpad#11).
Files are not re-requested if they are cached by the browser (obviously).
The issue I ran into now is that if I enable coverage
testee test/qunit-tests.html --coverage
and then run again with it disabledtestee test/qunit-tests.html -c testee.json
, coverage data is still reported because the files were instrumented on the previous test run. This also happens the other way where coverage data does not show up because a previous run had coverage disabled.One solution is to do something similar to what Karma does and add a cache buster to the URL. If I remember correctly, Karma always adds a parameter like
?=234242411542
to each JS file requested.The text was updated successfully, but these errors were encountered: