Depracated in favor of Jest snapshot testing.
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.
npm install baseman --global
npm install baseman --save-dev
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
MIT License.