Gopter
6.4#3 in property-based testing toolsFree planFree planLinuxSelf-hosted
Visit| Fact | Gopter | QCheck |
|---|---|---|
| Generators | It provides tighter control over generators than Go's testing/quick package. | QCheck includes combinators for constructing random generators, including generators for lists, arrays, recursive types, algebraic types, and tuples. |
| License | The repository identifies Gopter as MIT licensed. | The repository identifies its license as BSD-2-Clause and says the code is released under the BSD license. |
| Purpose | Gopter is a Go property-testing library that brings ideas from ScalaCheck and QuickCheck to Go. | QCheck is a QuickCheck-inspired property-based testing library for OCaml. |
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.
QCheck suits OCaml developers who want to test properties over generated inputs rather than rely only on individual examples. Its runner and integration packages cover projects using OUnit or Alcotest.