KoryNunn / basictap

Light tap adherent test runner.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

basictap

GitHub code size in bytes GitHub package.json version GitHub js-semistandard-style

Light tap adherent test runner.

  • Asyncronous tests run in parallel
  • Outputs tap syntax
  • Uses built in node assert library

Installation

npm install --save basictap

Example

const test = require('basictap');

test('basic test that passes', t => {
  t.plan(1);

  t.equal(1, 1);
});

test('basic test that passes with async', async t => {
  t.plan(1);

  const something = await doSomething();

  t.equal(something, 1);
});

About

Light tap adherent test runner.

License:MIT License


Languages

Language:JavaScript 100.0%