0.1.0-dev.8 • Published 7 years ago

baseman v0.1.0-dev.8

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

Baseman Testing Framework

Currently under development

Baseman is a testing framework that saves expected output as baseline and compares new output with it to determine whether there are possible bugs or issues on consistency.

The latest version of clime (the command-line interface framework for TypeScript) is now using baseman for testing, check out some resources from clime project:

And yes, baseman is using clime for command-line interface.

Installation

npm install baseman --global
npm install baseman --save-dev

Usage

USAGE

  baseman <subcommand>

SUBCOMMANDS

  run    - Run baseman tests
  accept - Accept new output as baseline
USAGE

  baseman run [dir=test/baseman] [...options]

PARAMETERS

  dir - The directory that contains tests

OPTIONS

  -f, --filter <filter> - A minimatch string to filter test cases by their IDs
  -i, --interactive     - Run test cases in interactive mode

License

MIT License.