Our great sponsors
-
graphql-to-karate
Automagically generate Karate API tests from your GraphQL schemas. Useful for test-driven development, change validation in CI/CD, and more.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
As a fun learning project and something to help me with my own work, I built a command line tool, graphql-to-karate, that converts GraphQL schemas to Karate API tests. It's highly configurable, usable in both interactive and non-interactive modes, and will hopefully be helpful for others, either to use or to poke around at. Feedback is appreciated!
GraphQL-Parser for parsing GraphQL schemas into an AST to work with
QuikGraph for detecting cycles in GraphQL types
Serilog for logging