fhigit / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

Seems to cache test case #117

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Started my server : java -jar JsTestDriver.jar --port 42442
2. Run my tests: java -jar JsTestDriver.jar --tests all --captureConsole
4. Change name of testcase from TestCase("GreeterTestCase", {...}); to 
TestCase("GreeterTestTestCase", {...});

First output:
..
Total 2 tests (Passed: 2; Fails: 0; Errors: 0) (0.00 ms)
  Firefox 1.9.1.9: Run 1 tests (Passed: 1; Fails: 0; Errors 0) (0.00 ms)
    GreeterTestCase.testGreeter passed (0.00 ms)
      [LOG] JsTestDriver Hello World!
  Internet Explorer 7.0: Run 1 tests (Passed: 1; Fails: 0; Errors 0) (0.00 ms)
    GreeterTestCase.testGreeter passed (0.00 ms)
      [LOG] JsTestDriver Hello World!

Second output:
....
Total 4 tests (Passed: 4; Fails: 0; Errors: 0) (0.00 ms)
  Firefox 1.9.1.9: Run 2 tests (Passed: 2; Fails: 0; Errors 0) (0.00 ms)
    GreeterTestCase.testGreeter passed (0.00 ms)
      [LOG] JsTestDriver Hello World!
    GreeterTestTestCase.testGreeter passed (0.00 ms)
      [LOG] JsTestDriver Hello World!
  Internet Explorer 7.0: Run 2 tests (Passed: 2; Fails: 0; Errors 0) (0.00 ms)
    GreeterTestCase.testGreeter passed (0.00 ms)
      [LOG] JsTestDriver Hello World!
    GreeterTestTestCase.testGreeter passed (0.00 ms)
      [LOG] JsTestDriver Hello World!

I would expect the GreeterTestCase tests to be removed.

I am on windows and I am using the version that comes with the hello world
sample.

Original issue reported on code.google.com by Kenny.Ortmann on 23 Apr 2010 at 7:14

GoogleCodeExporter commented 9 years ago
Can you mark this as closed?  I was using a version of JsTD that was really old.

Should maybe think about having the hello-world sample pull it's 
JsTestDriver.jar
from a svn-external or something of the sort so that it stays up to date.

Original comment by Kenny.Ortmann on 23 Apr 2010 at 9:20