All the stuff in GraphQL.Value should have generators and quickcheck tests. It's pretty fundamental, but a lot of work.
@teh Do you have any opinion about whether we should put Arbitrary instances in the library? My current feeling is custom generators in the tests, e.g.
validName :: Gen Name
validName = Name <$> arbitrary
validObject :: Gen Object
-- and so forth ...
All the stuff in
GraphQL.Value
should have generators and quickcheck tests. It's pretty fundamental, but a lot of work.@teh Do you have any opinion about whether we should put
Arbitrary
instances in the library? My current feeling is custom generators in the tests, e.g.