graphql-boilerplates / typescript-graphql-server

Boilerplate code for scalable, production-ready GraphQL servers written in TypeScript
741 stars 111 forks source link

Best practice for testing #95

Open jvbianchi opened 6 years ago

jvbianchi commented 6 years ago

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

Is there any examples?

DevanB commented 6 years ago

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.

ljanssen5 commented 6 years ago

Any update on this?

mcabrams commented 5 years ago

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