npm.io
1.0.2 • Published 10 years ago

tpp

Licence
MIT
Version
1.0.2
Deps
0
Vulns
0
Weekly
0

tpp

A simple testing library that is used for live testing during training sessions

How to use

npm i tpp

const { ok, equals } = require('tpp')

ok(true, 'should be valid')
equals(1,1, '1 === 1')

When you call these methods they simply return a string that is passed in with a 'success' or 'error' at the end of the return string.

This provides the user with a visual response so they can determine if their exercise was successful or not.