robbatt / dojo_base_js

a javascript base project for coding dojos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dojo Base Project (JS)

setup

  • install nodejs 6+ LTS (manual)
  • Windows: you might have to add %APPDATA%\npm to your PATH
  • run npm install mocha chai ts-node typings -g anywhere
  • run npm install in project root

test

  • npm test runs all unit tests under src

coverage / test reports

  • npm run report generates coverage and junit test reports

looping tests / coverage reports

  • npm run loop-test runs tests in loop/watch mode until cancelled
  • npm run loop-report loops report generation (and test)
  • use a browser plugin to refresh coverage/lcov-report/index.html every second to receive your test status

About

a javascript base project for coding dojos


Languages

Language:JavaScript 80.7%Language:TypeScript 14.9%Language:Shell 2.7%Language:Batchfile 1.7%