Nayigiziki / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

The testcase.js should not be coupled to the testrunner.js #303

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The getReport method has tight coupling to the testRunner.  It is possible to 
use the testcase.js without the testrunner (if interested see 
https://github.com/gatapia/nclosure project which is closure tools on Node.js).

Simple patch attached which is backwards compatible.

Guido

Original issue reported on code.google.com by guido.tapia@gmail.com on 30 Mar 2011 at 10:39

Attachments:

GoogleCodeExporter commented 8 years ago
Does nclosure still need this feature?

I had a quick look at it, and realized that probably 
goog.testing.TestCase.Result.prototype.isStrict also has to tolerate the lack 
of the test runner.

Original comment by pall...@google.com on 29 Jun 2011 at 10:08

GoogleCodeExporter commented 8 years ago

Original comment by nn...@google.com on 9 May 2012 at 9:59

GoogleCodeExporter commented 8 years ago

Original comment by nn...@google.com on 15 May 2012 at 10:45