Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
arbitrary/ | H | 15-Jan-2019 | - | |||
commands/ | H | 15-Jan-2019 | - | |||
convey/ | H | 15-Jan-2019 | - | |||
gen/ | H | 15-Jan-2019 | - | |||
prop/ | H | 15-Jan-2019 | - | |||
.gitignore | H A D | 15-Jan-2019 | 312 | |||
.travis.yml | H A D | 15-Jan-2019 | 869 | |||
CHANGELOG.md | H A D | 15-Jan-2019 | 2.8 KiB | |||
LICENSE | H A D | 15-Jan-2019 | 1.1 KiB | |||
Makefile | H A D | 15-Jan-2019 | 1.1 KiB | |||
README.md | H A D | 15-Jan-2019 | 2.3 KiB | |||
bi_mapper.go | H A D | 15-Jan-2019 | 3.1 KiB | |||
bi_mapper_test.go | H A D | 15-Jan-2019 | 779 | |||
derived_gen.go | H A D | 15-Jan-2019 | 2.8 KiB | |||
derived_gen_test.go | H A D | 15-Jan-2019 | 5.2 KiB | |||
doc.go | H A D | 15-Jan-2019 | 976 | |||
example_fizzbuzz_test.go | H A D | 15-Jan-2019 | 2 KiB | |||
example_labels_test.go | H A D | 15-Jan-2019 | 1.4 KiB | |||
example_libraries_test.go | H A D | 15-Jan-2019 | 2.4 KiB | |||
example_sqrt_test.go | H A D | 15-Jan-2019 | 1,015 | |||
flag.go | H A D | 15-Jan-2019 | 376 | |||
flag_test.go | H A D | 15-Jan-2019 | 365 | |||
formated_reporter.go | H A D | 15-Jan-2019 | 3.6 KiB | |||
formated_reporter_test.go | H A D | 15-Jan-2019 | 2.1 KiB | |||
gen.go | H A D | 15-Jan-2019 | 8.3 KiB | |||
gen_parameter_test.go | H A D | 15-Jan-2019 | 1.2 KiB | |||
gen_parameters.go | H A D | 15-Jan-2019 | 2 KiB | |||
gen_result.go | H A D | 15-Jan-2019 | 1.7 KiB | |||
gen_result_test.go | H A D | 15-Jan-2019 | 568 | |||
gen_test.go | H A D | 15-Jan-2019 | 9.7 KiB | |||
locked_source.go | H A D | 15-Jan-2019 | 1.6 KiB | |||
prop.go | H A D | 15-Jan-2019 | 2.6 KiB | |||
prop_arg.go | H A D | 15-Jan-2019 | 691 | |||
prop_arg_test.go | H A D | 15-Jan-2019 | 447 | |||
prop_result.go | H A D | 15-Jan-2019 | 2.6 KiB | |||
prop_result_test.go | H A D | 15-Jan-2019 | 2.5 KiB | |||
prop_test.go | H A D | 15-Jan-2019 | 3.8 KiB | |||
properties.go | H A D | 15-Jan-2019 | 1.5 KiB | |||
properties_test.go | H A D | 15-Jan-2019 | 937 | |||
reporter.go | H A D | 15-Jan-2019 | 237 | |||
runner.go | H A D | 15-Jan-2019 | 1.6 KiB | |||
runner_test.go | H A D | 15-Jan-2019 | 3.6 KiB | |||
shrink.go | H A D | 15-Jan-2019 | 4.7 KiB | |||
shrink_test.go | H A D | 15-Jan-2019 | 3.8 KiB | |||
test_parameters.go | H A D | 15-Jan-2019 | 1.1 KiB | |||
test_result.go | H A D | 15-Jan-2019 | 1.1 KiB | |||
test_result_test.go | H A D | 15-Jan-2019 | 1.1 KiB |
README.md
1# GOPTER 2 3... the GOlang Property TestER 4[![Build Status](https://travis-ci.org/leanovate/gopter.svg?branch=master)](https://travis-ci.org/leanovate/gopter) 5[![codecov](https://codecov.io/gh/leanovate/gopter/branch/master/graph/badge.svg)](https://codecov.io/gh/leanovate/gopter) 6[![GoDoc](https://godoc.org/github.com/leanovate/gopter?status.png)](https://godoc.org/github.com/leanovate/gopter) 7 8[Change Log](CHANGELOG.md) 9 10## Synopsis 11 12Gopter tries to bring the goodness of [ScalaCheck](https://www.scalacheck.org/) (and implicitly, the goodness of [QuickCheck](http://hackage.haskell.org/package/QuickCheck)) to Go. 13It can also be seen as a more sophisticated version of the testing/quick package. 14 15Main differences to ScalaCheck: 16 17* It is Go ... duh 18* ... nevertheless: Do not expect the same typesafety and elegance as in ScalaCheck. 19* For simplicity [Shrink](https://www.scalacheck.org/files/scalacheck_2.11-1.14.0-api/index.html#org.scalacheck.Shrink) has become part of the generators. They can still be easily changed if necessary. 20* There is no [Pretty](https://www.scalacheck.org/files/scalacheck_2.11-1.14.0-api/index.html#org.scalacheck.util.Pretty) ... so far gopter feels quite comfortable being ugly. 21* A generator for regex matches 22* No parallel commands ... yet? 23 24Main differences to the testing/quick package: 25 26* Much tighter control over generators 27* Shrinkers, i.e. automatically find the minimum value falsifying a property 28* A generator for regex matches (already mentioned that ... but it's cool) 29* Support for stateful tests 30 31## Documentation 32 33Current godocs: 34 35* [gopter](https://godoc.org/github.com/leanovate/gopter): Main interfaces 36* [gopter/gen](https://godoc.org/github.com/leanovate/gopter/gen): All commonly used generators 37* [gopter/prop](https://godoc.org/github.com/leanovate/gopter/prop): Common helpers to create properties from a condition function and specific generators 38* [gopter/arbitrary](https://godoc.org/github.com/leanovate/gopter/arbitrary): Helpers automatically combine generators for arbitrary types 39* [gopter/commands](https://godoc.org/github.com/leanovate/gopter/commands): Helpers to create stateful tests based on arbitrary commands 40* [gopter/convey](https://godoc.org/github.com/leanovate/gopter/convey): Helpers used by gopter inside goconvey tests 41 42## License 43 44[MIT Licence](http://opensource.org/licenses/MIT) 45