npm.io
0.5.1 • Published 9 years ago

testman

Licence
MIT
Version
0.5.1
Deps
0
Vulns
0
Weekly
0
DeprecatedThis package is deprecated
@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

Keywords