1.0.9 • Published 4 years ago

simple-tester v1.0.9

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Simple Tester

A very simple javascript library for running unit tests for other javascript modules.

simple-tester

Usage

let hello = (name) => {
    if(!name) {
        return 'Hello!';
    }
    else {
        return `Hello ${name}!`;
    }
}

let cases = [
    new TestCase("World", "Hello World!"),
    new TestException(null, "Argument exception")
];

(new TestRunner(cases, hello)).run()

License

Simple Tester is licensed with MIT License.

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago