qunitx-cli

source npm docker api docs coverage
qunitx-cli demo

Live output

$ npx qunitx docs/demo-math-test.js
TAP version 13
# QUnitX running: http://localhost:39711/
# [HTTPServer] GET /node_modules/qunitx/vendor/qunit.css 200 - 1ms
ok 1 Math | equal and notEqual # (1 ms)
ok 2 Math | strictEqual # (0 ms)
ok 3 Math | deepEqual — user profile sync # (1 ms)
ok 4 Math | hooks: beforeEach resets state per test # (0 ms)
ok 5 Math | Async | async/await # (15 ms)
ok 6 Math | Async | assert.rejects # (1 ms)
ok 7 Assertions | throws — match by constructor # (0 ms)
ok 8 Assertions | step/verifySteps — execution order # (0 ms)
ok 9 Assertions | propContains — partial object match # (0 ms)
# [HTTPServer] GET /favicon.ico 404 - 0ms

1..9
# tests 9
# pass 9
# skip 0
# fail 0
# duration 273