https://github.com/flarebyte/baldrick-pest
Cunning regression tests for CLI applications
https://github.com/flarebyte/baldrick-pest
cli npm-cli regression-testing testing
Last synced: over 1 year ago
JSON representation
Cunning regression tests for CLI applications
- Host: GitHub
- URL: https://github.com/flarebyte/baldrick-pest
- Owner: flarebyte
- License: mit
- Created: 2022-11-04T20:41:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T08:30:03.000Z (about 3 years ago)
- Last Synced: 2025-02-04T11:47:39.262Z (over 1 year ago)
- Topics: cli, npm-cli, regression-testing, testing
- Language: TypeScript
- Homepage:
- Size: 1010 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# baldrick-pest
 





> Cunning regression tests for CLI applications
Run some

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](MAINTENANCE.md)
- [Code Of Conduct](CODE_OF_CONDUCT.md)
- [Api for baldrick-pest](API.md)
- [Contributing](CONTRIBUTING.md)
- [Glossary](GLOSSARY.md)
- [Diagram for the code base](INTERNAL.md)
- [Vocabulary used in the code base](CODE_VOCABULARY.md)
- [Architectural Decision Records](DECISIONS.md)
- [Contributors](https://github.com/flarebyte/baldrick-pest/graphs/contributors)
- [Dependencies](https://github.com/flarebyte/baldrick-pest/network/dependencies)
- [Usage ★★](USAGE.md)
- [Overview for the json schema for baldrick pest yaml file](SCHEMA.md)
- [Json schema for baldrick pest yaml
file](spec/snapshots/build-model/get-schema--schema.json)
## Related
- [baldrick-zest-engine](https://github.com/flarebyte/baldrick-zest-engine)
Run tests declaratively with a few cunning plans
- [assert sh](https://github.com/lehmannro/assert.sh) test-driven
development for bash
- [bash\_unit](https://github.com/pgrange/bash_unit) bash unit testing
enterprise edition framework
- [shUnit2](https://github.com/kward/shunit2) unit test framework for
Bourne based shell scripts
## Installation
This package is [ESM
only](https://blog.sindresorhus.com/get-ready-for-esm-aa53530b3f77).
```bash
yarn global add baldrick-pest
baldrick-pest --help
```
Or alternatively run it:
```bash
npx baldrick-pest --help
```
If you want to tun the latest version from github. Mostly useful for dev:
```bash
git clone git@github.com:flarebyte/baldrick-pest.git
yarn global add `pwd`
```