@klenty/gunner
Zero magic, fast test-runner and assertion framework. No magic globals.
Last updated 2 years ago by mkrhere .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @klenty/gunner 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.11.11                                ...           latest (2 years ago)

24 Versions

  • 0.11.11                                ...           2 years ago
  • 0.11.10                                ...           2 years ago
  • 0.11.9                                ...           2 years ago
  • 0.11.8                                ...           2 years ago
  • 0.11.7                                ...           2 years ago
  • 0.11.6                                ...           2 years ago
  • 0.11.5                                ...           2 years ago
  • 0.11.4                                ...           2 years ago
  • 0.11.3                                ...           2 years ago
  • 0.11.2                                ...           2 years ago
  • 0.11.1                                ...           2 years ago
  • 0.10.7                                ...           2 years ago
  • 0.10.6                                ...           2 years ago
  • 0.10.5                                ...           2 years ago
  • 0.10.4                                ...           2 years ago
  • 0.10.3                                ...           2 years ago
  • 0.10.2                                ...           2 years ago
  • 0.10.1                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.6                                ...           2 years ago
  • 0.9.4                                ...           2 years ago
  • 0.9.3                                ...           2 years ago
  • 0.9.0                                ...           2 years ago
  • 0.6.7                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |