0.1.0 • Published 3 years ago
make-mocha v0.1.0
make-mocha
Make targets for running tests using Mocha.
Usage
Include this makefile in your Makefile:
include mocha.mkFor convenience when using in JavaScript projects, this makefile is published to npm. It can be installed:
$ npm install make-mocha --save-devand then included in your Makefile:
include node_modules/make-mocha/mocha.mkDefine a variable that represents your test suite:
TESTS = test/*.test.jsInvoke the test target:
make testVariables
Here is a table of some of the more common variables used as names of programs in rules:
MOCHAProgram for running tests; default
mocha.
Here is a table of variables whose values are additional arguments for the programs above. The default values for all of these is the empty string, unless otherwise noted.
MOCHAFLAGSExtra flags to give to the test runner.
Targets
testRun tests for this package.
Authors
- Jared Hanson {
}
License
Copyright (c) 2016-2023 Jared Hanson
0.1.0
3 years ago