0.0.3 • Published 5 years ago
test-packager v0.0.3
Test Packager
Package up your tests based on changes in your project. This tool will find the folders with changes and allows you to pass that information into your test commands to narrow down tests to only the ones that relate to your changes.
=============
Usage
$ npm install -g test-packager
$ test-packager COMMAND
running command...
$ test-packager (-v|--version|version)
test-packager/0.0.2 darwin-x64 node-v12.18.2
$ test-packager --help [COMMAND]
USAGE
  $ test-packager COMMAND
...Commands
test-packager callback BRANCH [CALLBACK]
Get folder change list and pass in values to a callback
USAGE
  $ test-packager callback BRANCH [CALLBACK]
ARGUMENTS
  BRANCH    branch to diff against
  CALLBACK  callback to run
OPTIONS
  -c, --comma  split folder paths by comma
  -h, --help   show CLI help
  -s, --space  split folder paths by space
EXAMPLE
  $ test-packager branchSee code: src/commands/callback.ts
test-packager diff BRANCH
Get the git diff between this branch and the target branch
USAGE
  $ test-packager diff BRANCH
ARGUMENTS
  BRANCH  [default: main] branch to diff against
OPTIONS
  -h, --help  show CLI help
EXAMPLE
  $ test-packager branchSee code: src/commands/diff.ts
test-packager help [COMMAND]
display help for test-packager
USAGE
  $ test-packager help [COMMAND]
ARGUMENTS
  COMMAND  command to show help for
OPTIONS
  --all  see all commands in CLISee code: @oclif/plugin-help