The official Dojo 2 test command.
WARNING This is beta software. While we do not anticipate significant changes to the API at this stage, we may feel the need to do so. This is not yet production ready, so you should use at your own risk.
Runs tests built using @dojo/cli-build-webpack
, or @dojo/cli-build-app
.
To build and run tests locally, just execute dojo test
in your project. There are several configuration options, to see what
options are available run dojo test -h
We appreciate your interest! Please see the Dojo 2 Meta Repository for the Contributing Guidelines and Style Guide.
Test cases MUST be written using Intern using the bdd test interface and Assert assertion interface.
90% branch coverage MUST be provided for all code submitted to this repository, as reported by Istanbul’s combined coverage results for all supported platforms.
To test locally in node run:
grunt test
- ora (MIT)
- Chalk(MIT)
- cross-spawn(MIT)
- pkg-dir(MIT)
- Istanbul(New BSD)
- Mockery(MIT)
- codecov.io(MIT)
- Glob(ISC)
- grunt-tslint(Apache 2.0)
- Sinon.JS(New BSD)
- TSLint(Apache 2.0)
- yargs(MIT)
© 2004–2017 JS Foundation & contributors. New BSD license.