@oat-sa/tao-qunit-testrunner

v2.0.0
TAO Frontend Unit & Integration Test Runner based on QUnit and Puppeteer
tao test qunit testrunner

lint

eslint -c .eslintrc.js src exampleSrc exampleTest bin

test

echo 'Expect 3 success, 3 failures and 1 timeout'; node ./bin/qunit-testrunner.js || true

coverage

nyc report

test:cov

node ./bin/qunit-testrunner --cov

lint:report

eslint -c .eslintrc.js src exampleSrc exampleTest bin --output-file eslint_report.json --format json | true

coverage:html

nyc report --reporter=lcov && open-cli coverage/lcov-report/index.html

coverage:empty

npx nyc --instrument --include exampleSrc/**/*.js --all --silent echo

test:keepAlive

node ./bin/qunit-testrunner.js --keepalive --port 5100

coverage:clover

nyc report --reporter=clover
npm i @oat-sa/tao-qunit-testrunner

Metadata

Downloads