graphql-boilerplates / typescript-graphql-server

Boilerplate code for scalable, production-ready GraphQL servers written in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Best practice for testing

jvbianchi opened this issue · comments

What is the best practice for testing projects based on graphql-yoga?

Is there any examples?

commented

Good timing @jvbianchi!

I'm personally working on compiling an understanding of how people are testing their GraphQL servers. I'm starting with testing resolvers right now.

I'm hoping to create a blog post or speak at a conference about this, since enough people are asking now!

I'll report back here when I've published some information, and I'll try to get a basic example in a PR to the graphql-yoga project or here.

Any update on this?

This would be fantastic to add to these boilerplates, I, myself, am trying to figure out the best way to setup and test resolvers.