ibolmo/jasmine-jstd-adapter — Issue #20: "Doubling up" of tests - Old results hanging around
Author: Daniel15
Created: 2011-12-20 10:38:53+00:00
State: open

This is an odd issue to explain, but I'll try to do it as best I can.

Whenever I change my tests, JsTestDriver seems to "cache" the old tests, and combine the old results with the new results. As an example, one of my spec files has 7 tests in it. This works fine the first time I run JsTestDriver, and also works fine on a second run without changing anything. However, if I change my spec file (even insignificantly - ie. adding whitespace) and run the tests again, JsTestDriver now says I have 14 tests!

If I change a test to fail intentionally and then change it back so it passes, the fail remains and appears on every single test run, until I restart the JsTestDriver server.