/testling

unit tests in all the browsers

Primary LanguageJavaScriptOtherNOASSERTION

testling

Run testling-ci tests locally.

example

write a test:

var test = require('tape');

test('beep boop', function (t) {
    t.plan(2);
    t.equal(1+1, 2);
    t.ok(true);
});

run your test in a local headless browser:

$ browserify example/test.js | testling

TAP version 13
# beep boop
ok 1 should be equal
ok 2 (unnamed assert)

1..2
# tests 2
# pass  2

# ok

with an exit code of 0 for successes and non-zero for failures like a good unix citizen

install

With npm just do:

npm install -g testling

license

MIT

attack of the testlings!