0.0.10 • Published 6 years ago

gen-tests v0.0.10

Weekly downloads
7
License
MIT
Repository
github
Last release
6 years ago

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
0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago