baldrick-pest
v0.11.0
Published
Cunning regression tests for CLI applications
Readme
baldrick-pest
Cunning regression tests for CLI applications
Snapshot-driven acceptance tests for CLI apps defined in YAML.
Snapshot-driven acceptance tests for any CLI.

Highlights:
- Test any kind of executable regardless of the programming language it has been created with.
- Tests are written in YAML with a json schema.
- Regression are checked by making snapshots.
- Writing tests is quick and easy with auto-completion in vs-code
- Reports the test results in mocha json. This makes it easy to integrate with other tools and services that use mocha json as a standard format for test results.

Documentation and links
- Code Maintenance :wrench:
- Code Of Conduct
- Api for baldrick-pest
- Contributing :busts_in_silhouette: :construction:
- Diagram for the code base :triangular_ruler:
- Vocabulary used in the code base :book:
- Architectural Decision Records :memo:
- Contributors :busts_in_silhouette:
- Dependencies
- Glossary :book:
- Software engineering principles :gem:
- Overview of Flarebyte.com ecosystem :factory:
- Usage ★★
- Overview for the json schema for baldrick pest yaml file
- Json schema for baldrick pest yaml file
Related
- baldrick-zest-engine Run tests declaratively with a few cunning plans
- assert sh test-driven development for bash
- bash_unit bash unit testing enterprise edition framework
- shUnit2 unit test framework for Bourne based shell scripts
Installation
This package is ESM only.
yarn global add baldrick-pest
baldrick-pest --helpOr alternatively run it:
npx baldrick-pest --helpIf you want to tun the latest version from github. Mostly useful for dev:
git clone [email protected]:flarebyte/baldrick-pest.git
yarn global add `pwd`