Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test.js Build Status

npm

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");

    ...

About

Test runner.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages