1.0.3
A complete solution toolkit for your test suite.
Repository
Current version released
3 years ago
Dependencies
std
aGAIN
Açai Testing Framework documentation
For our goals, the existing testing libraries didn’t suffice, so we made our own. We made the tests to easily scale and allow you to have an extremely free enviroment to tinker with.
** Attention! ** All of tests in the same context are ran before tests on the following context.
Usage
Assertions should run inside of a test scope, see a simple example:
import test from "@acai/testing";
test("Test that 2 + 2 is equal 4", expect => {
expect(2 + 2).toEqual(4);
});
// You can run all the tests recorded using test.run, this will print
// in the console
test.run();