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 cfdb5e1b91 [build] Separate builds for node and browser 6 years ago
.vscode [misc] setup 6 years ago
assets [docs] Added basic README & utility helpers 6 years ago
browser [build] Separate builds for node and browser 6 years ago
es5 [build] Separate builds for node and browser 6 years ago
sample [build] Separate builds for node and browser 6 years ago
scripts [build] Separate builds for node and browser 6 years ago
src [build] Separate builds for node and browser 6 years ago
.eslintignore [Runner] Added Gunner/Runner module 6 years ago
.eslintrc.js [misc] setup 6 years ago
.gitignore [version] Updated docs and bumped version to 0.2.5 6 years ago
.npmignore [npm] Added npmignore 6 years ago
DOCUMENTATION.md [docs] Update docs to version 0.9.4 6 years ago
LICENSE Create LICENSE 6 years ago
README.md [docs] Update docs to version 0.9.4 6 years ago
Runner.js [build] Separate builds for node and browser 6 years ago
Strategy.js [refactor] bluebird not global, minor refactoring 6 years ago
index.js [build] Separate builds for node and browser 6 years ago
package.json [build] Separate builds for node and browser 6 years ago
shrinkwrap.yaml [build] Separate builds for node and browser 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, expect } = require('@klenty/gunner');
// Create new instance
const gunner = new Gunner();

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

// Starts the runner
gunner.run();

Documentation

Credits

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