Gopter
6.4#3 in property-based testing toolsFree planFree planLinuxSelf-hosted
Visit| Fact | Gopter | RapidCheck |
|---|---|---|
| Generators | It provides tighter control over generators than Go's testing/quick package. | RapidCheck includes generators for common types and combinators for building custom generators. |
| License | The repository identifies Gopter as MIT licensed. | The repository identifies its license as BSD-2-Clause. |
| Purpose | Gopter is a Go property-testing library that brings ideas from ScalaCheck and QuickCheck to Go. | RapidCheck is a C++ framework for property-based testing inspired by QuickCheck and similar frameworks. |
| Shrinking | Its shrinkers automatically seek a minimum value that falsifies a property. | When a property fails, RapidCheck tries to find the smallest failing test case and displays it as a counterexample. |
| Stateful testing | Gopter supports stateful tests. | The README describes stateful testing based on commands in the style of Erlang QuickCheck. |
No prices published.
Gopter suits Go developers who want generated inputs and automatic shrinking for property tests. It may also suit developers using Go's testing package or GoConvey.
It suits C++ developers who want generated inputs and smaller counterexamples when testing properties. It may also fit projects that need stateful testing or integration with the listed test libraries.