0.0.10 • Published 6 years ago
gen-tests v0.0.10
gen-tests
This package is work in progress tool to generate tests for nodejs app. it's purpose is to help add unit and integration tests to old node projects.
Install
$ npm i gen-tests [-g]
Usage:
gen-tests OPTIONS
Options
- -src, --source FILE target code directory (Default is src/)
- -ut, --unitTestDirectory FILEtarget unit test directory (Default is test/unit/)
- -it, --integrationTestDirectory FILEtarget unit test directory (Default is test/unit/)
- -utt, --unitTestTemplate FILEtemplate for unit test (Default is node_modules/tests-generator/src/templates/unit-test.js)
- -itt, --integrationTestTemplate FILEtemplate for integration test (Default is node_modules/tests-generator/src/templates/integration-test.js)
- -ed, --excludedDirectories STRINGcomma separated directory names (Default is algorithm-repository, data, routes, bin)
- -ef, --excludeFiles STRINGcomma separated file names (Default is app.js)
- -v, --version Display the current version
- -h, --help Display help and usage details