nikgoodley-ibboost / js-test-driver

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

jsTestRunnner doesn't return failure when tests failed #349

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This issue produce lot of a problems if tests executed as part of CI build and 
you expect that build will fail on tests failure.

What steps will reproduce the problem?
1. Create simple test that fails
2. Run it with test driver
3. Inspect return code of the java

Expected:
Test driver exists with error code when test failed.

Actual:
Test driver exit without any errors

What version of the product are you using? On what operating system?
JsTestDriver-1.3.4.b.jar

Original issue reported on code.google.com by volodymy...@gmail.com on 15 Mar 2012 at 10:58

GoogleCodeExporter commented 9 years ago
By "Test driver exit without any errors" I mean that java terminates with 
result 0.

Original comment by volodymy...@gmail.com on 15 Mar 2012 at 10:58

GoogleCodeExporter commented 9 years ago
Not reproducible on JsTestDriver-1.3.3d.jar
Reproducible on 1.3.4 a and b versions

Original comment by volodymy...@gmail.com on 15 Mar 2012 at 11:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Why is this bug still open? 
The command line option raiseOnFailure circumvent the this "bug". I have 
verified the functionlality on windows, java 64-bit, jsTestDriver 1.3.5.
But the option seems to have been introduced in jstestdriver 1.3.4.

Original comment by nord.m...@gmail.com on 1 Mar 2013 at 10:38