gopter icon indicating copy to clipboard operation
gopter copied to clipboard

GOlang Property TestER

Results 15 gopter issues
Sort by recently updated
recently updated
newest added

Sometimes we get a failure with the below code ``` Error on property evaluation after 1 passed tests: Check paniced: reflect: Call using *schema.PathMatcherType_Prefix as type *schema.PathMatcherType_Path ``` Could you...

Hello! Thanks for this great library and apologies in advance if this is me just missunderstanding it (go newbie). I've got a stateful system, a bitarray and the state is...

I am looking for a way to generate values which depend on each other. In particular, I want to recreate the following simple example from ScalaCheck's User Guide (https://github.com/typelevel/scalacheck/blob/main/doc/UserGuide.md#generators), where...

Hey! I am trying to generate unique ids however I am having some troubles with it. I have tried adding a list to which ids have already been generated and...

I'm thinking of writing a `gen.StructStrict`, which panics if `gens` contains keys which are not fields on `rt`, so for instance the `"NotThere"` key in `struct_test.go::TestStruct` would cause a failure....

Hello - thanks for a great testing library! I'm trying to use gopter to test a simple stateful object. The object is initialized with no existing state, and then methods...

When transitioning a model using `Command.NextState -> commands.State`, is it dangerous to share pointers or reference types between model states? For example, ``` type State struct { index map[string]string }...

Hi, I got an error when trying to generating a slice of pointers using the code below: ``` package main import ( "github.com/leanovate/gopter" "github.com/leanovate/gopter/gen" "github.com/leanovate/gopter/prop" "reflect" ) type Empty struct...

I've been playing around with `gopter` for a little while now, trying to understand how to write my own generator for my use case, which is not as straight forward...

Trying to get a handle on how `WithLabel` could help decoding inputs in the event of test failure. For the simple example shown on https://godoc.org/github.com/leanovate/gopter with two simple inputs, it...