Shell style tests using bats-core
Project description
BATSPP
Shell style tests using bats-core framework
Bats is a great TAP-compliant testing framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected.
The goal of Batspp to allow writing shell style tests with an simple and a less idiosyncratic syntax.
#!/usr/bin/env batspp
# Test example with multiple assertions
$ filepath=$(echo $TMP/testfile-"$$")
$ echo -e "in this test\nwe are using\nmultiple assertions" | sudo tee $filepath
$ cat $filepath | wc -l
3
$ cat $filepath | wc -c
46
Batspp grew out of work for Thomas O'Hara on shell-scripts and mezcla.
Docs
Contributing
All contribution is welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
batspp-2.0.0-py3-none-any.whl
(21.1 kB
view hashes)