Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

testman

lauriro290MITdeprecated0.5.1

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Expiremental testing helper.

test, tap

readme

@version    0.5.1
@date       2016-07-26
@stability  2 - Unstable

Testman – Build Coverage

Expiremental testing helper that produces TAP, the Test Anything Protocol.

Usage

require("testman").

describe ( "My first module" ).
    it ( "should pass dummy-tests" ).
        equal ("a", "a", "a and a should be same").
        ok (true, "true is ok").
        type (1, "number").
        anyOf("a", ["a", "A"]).
done()

Licence

Copyright (c) 2013 Lauri Rooden <lauri@rooden.ee>
The MIT License