1.0.9 • Published 5 years ago

simple-tester v1.0.9

Weekly downloads
1
License
MIT
Repository
-
Last release
5 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

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago