dev-util/bats-assert (stuff)

Search

Install

Install this package:

emerge -a dev-util/bats-assert

If the package is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask dev-util/bats-assert

Or alternatively:

emerge --autounmask-write -a dev-util/bats-assert

Package Information

Description:
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:
https://github.com/bats-core/bats-assert
License:
CC0-1.0

Versions

Version EAPI Keywords Slot
2.2.4 8 ~amd64 0

Metadata

Description

Upstream

Raw Metadata XML
<pkgmetadata>
	<longdescription lang="en">
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.
  </longdescription>
	<upstream>
		<remote-id type="github">bats-core/bats-assert</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p dev-util/bats-assert | euse -E <flag> -p dev-util/bats-assert | euse -D <flag> -p dev-util/bats-assert

Flag Description 2.2.4
test Build and run unit tests ⚠️

Manifest

Type File Size Versions
DIST bats-assert-2.2.4.tar.gz 24904 bytes 2.2.4
Unmatched Entries
Type File Size