bats-assert
Common assertions for Bats
bats-assert is a helper library providing common assertions for Bats. In the context of this project, an assertion is a function that perform a test and returns 1 on failure or 0 on success. To make debugging easier, the assertion also outputs relevant information on failure. The output is formatted for readability. To make assertions usable outside of @test blocks, the output is sent to stderr. The most recent invocation of Bats' run function is used for testing assertions on output and status code.
homepage ↗ github: bats-core/bats-assert
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| guru gitweb ↗ | 2.2.0 | 1 | 46 h | details › |
| stuff GitHub ↗ | 2.2.4 | 1 | 2 d | details › |
Versions & arches
Use flags of 2.2.4
- test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)