uupaa.test.js
v0.15.0
Published
Test Runner.
Downloads
6
Maintainers
Readme
Test.js
Test Runner.
Document
How to use
Browser
<script src="lib/Test.js">
<script>
new Test().add([
testCase1,
testCase2,
]).run(function(err, test) {
if (1) {
err || test.worker(function(err, test) {
if (!err && typeof Module_ !== "undefined") {
var name = Test.swap(Module, Module_);
new Test(test).run(function(err, test) {
Test.undo(name);
});
}
});
}
});
</script>
WebWorkers
importScripts("lib/Test.js");
...
Node.js
var Test = require("lib/Test.js");
...