Generate arbitrary queries matching your GraphQL schema, and use them to verify your backend implementation.
MIT License
Bot releases are hidden (Show)
allow_x00
and codec
arguments to queries
, mutations
, and from_schema
.6.84.3
.Published by Stranger6667 over 1 year ago
Published by Stranger6667 almost 2 years ago
Python 3.11 support
Published by Stranger6667 about 2 years ago
Use poetry-core
for building the package.
Published by Stranger6667 over 2 years ago
from_schema
function which takes a GraphQL schema and returns a Hypothesis strategy for defined queries and mutations.InvalidArgument
exception when invalid input is passed to the generator functions.hypothesis_graphql.schemas
as it is not complete and not tested well.Published by Stranger6667 over 2 years ago
Published by Stranger6667 over 2 years ago
validate_scalar_strategy
in the public APIPublished by Stranger6667 over 2 years ago
Published by Stranger6667 over 2 years ago
hypothesis_graphql.nodes
module to simplify working with custom scalars.Published by Stranger6667 over 2 years ago
null
for nullable custom scalars in the argument position. #35Published by Stranger6667 over 2 years ago
Published by Stranger6667 over 2 years ago
This release adds support for GraphQL mutations, fixes a few missed aliases in generated queries, and improves performance by more than twice.
st.builds
in internal strategies. It gives ~65% data generation time reduction in schemas from the test suite. #14strategies.query
to strategies.queries
and strategies.schema
to strategies.schemas
, so they conform with the recommended naming of Hypothesis strategies. Old names are preserved for backward compatibility.Int
typeContentful
schema as XFAILHIVDB
schema as XFAIL