- Notifications
You must be signed in to change notification settings - Fork43
leanovate/gopter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
... the GOlang Property TestER
Gopter tries to bring the goodness ofScalaCheck (and implicitly, the goodness ofQuickCheck) to Go.It can also be seen as a more sophisticated version of the testing/quick package.
Main differences to ScalaCheck:
- It is Go ... duh
- ... nevertheless: Do not expect the same typesafety and elegance as in ScalaCheck.
- For simplicityShrink has become part of the generators. They can still be easily changed if necessary.
- There is noPretty ... so far gopter feels quite comfortable being ugly.
- A generator for regex matches
- No parallel commands ... yet?
Main differences to the testing/quick package:
- Much tighter control over generators
- Shrinkers, i.e. automatically find the minimum value falsifying a property
- A generator for regex matches (already mentioned that ... but it's cool)
- Support for stateful tests
Current godocs:
- gopter: Main interfaces
- gopter/gen: All commonly used generators
- gopter/prop: Common helpers to create properties from a condition function and specific generators
- gopter/arbitrary: Helpers automatically combine generators for arbitrary types
- gopter/commands: Helpers to create stateful tests based on arbitrary commands
- gopter/convey: Helpers used by gopter inside goconvey tests
About
GOlang Property TestER
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
