Tiny, but fully loaded test-runner.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Muthu Kumar 9e327eb13f [refactor] 6 years ago
.vscode [debug] Fix launch.json path 6 years ago
assets [docs] Added basic README & utility helpers 6 years ago
sample [docs] Update docs for before, after, and state 6 years ago
src [refactor] 6 years ago
.eslintrc.js [feature] Added support for before and after hooks 6 years ago
.gitignore [version] Updated docs and bumped version to 0.2.5 6 years ago
DOCUMENTATION.md [docs] Fix title 6 years ago
README.md [docs] Extract docs to separate file 6 years ago
index.js [refactor] Up to 0.3.1 6 years ago
package.json [version] Bump to 0.4.0 6 years ago
shrinkwrap.yaml [refactor] Up to 0.3.1 6 years ago

README.md

Gunner

Django Unchained

Tiny, but fully loaded.

Gunner is a zero magic, fast test-runner and assertion framework. There are no magic globals or CLI specific interface.

Requirements & Usage

Gunner uses very modern JavaScript, and hence requires node 10+ ⚠️ currently.

Create a new Gunner instance and simply write your tests. The assertion methods are passed in as the callback as an expect object to the test function.

const gunner = new Gunner();

gunner.test('arrays are equal', expect => {
	return expect([1, 2,]).deepEqual([1 ,2]);
});

gunner.run(); // starts the runner

Documentation

Credits

Gunner was built at Klenty, a sales automation startup, by Muthu Kumar (@MKRhere).