Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hypothesis-graphql / schemathesis testing #482

Open
devkral opened this issue Jul 8, 2023 · 2 comments
Open

hypothesis-graphql / schemathesis testing #482

devkral opened this issue Jul 8, 2023 · 2 comments

Comments

@devkral
Copy link

devkral commented Jul 8, 2023

There are testing/fuzzing tools named hypothesis-graphql (and the higher level schemathesis) available.

By fuzzing through the schema they can speed up testing and find corner cases.

It would be nice if there would some documentation how to integrate them (they work on asgi/stringified graphl schema)

@Stranger6667
Copy link

FWIW, not all hooks work yet with GraphQL in Schemathesis which may impose some integration issues. However, I plan to address this once I have a bit more bandwidth + update the docs on customization. Feel free to ping me if you need assistance with this

@devkral
Copy link
Author

devkral commented Jul 25, 2023

for me there is a blocker to fully switch to schemathesis, I am stuck to hypothesis-graphql:

schemathesis/schemathesis#1752

a bit offtopic but I hope it is ok:

further I would need field overloads based on their names and a way to define workflows (e.g. first creating x, then creating y which depends on y, then creating z depending on y and now fuzz freely x, y, z, where x,y,z are accessed by id and credentials (in my case credentials are a sideproduct of creating x and y))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants