Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @klenty/gunner with all npm packages installed. Try it out:

var gunner = require("@klenty/gunner")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@klenty/gunner v0.11.11

Zero magic, fast test-runner and assertion framework. No magic globals.


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 was built by Muthu Kumar (@MKRhere) at Klenty, a sales automation startup.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free