go-pgregory-net-rapid
Go property-based testing library
Rapid is a Go library for property-based testing.
Rapid checks that properties you define hold for a large number of automatically generated test cases. If a failure is found, rapid automatically minimizes the failing test case before presenting it.
Features:
imperative Go API with type-safe data generation using generics
data generation biased to explore "small" values and edge cases more thoroughly
fully automatic minimization of failing test cases
persistence and automatic re-running of minimized failing test cases
support for state machine ("stateful" or "model-based") testing
no dependencies outside the Go standard library
- Versions: 1.2.0
- Website: https://pgregory.net/rapid/
- Licenses: MPL 2.0
- Package source: gnu/packages/golang-check.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of go-pgregory-net-rapid as follows:
guix install go-pgregory-net-rapid
Or install a particular version:
guix install go-pgregory-net-rapid@1.2.0
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.
Badge code
You can use the following badge to inform users of go-pgregory-net-rapid about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/go-pgregory-net-rapid'><img src='https://packages.guix.gnu.org/packages/go-pgregory-net-rapid/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/go-pgregory-net-rapid)
Example Org:
[[https://packages.guix.gnu.org/packages/go-pgregory-net-rapid][https://packages.guix.gnu.org/packages/go-pgregory-net-rapid/badges/latest-version.svg]]