typescript-graphql-server icon indicating copy to clipboard operation
typescript-graphql-server copied to clipboard

Best practice for testing

Open jvbianchi opened this issue 7 years ago • 3 comments

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

Is there any examples?

jvbianchi avatar Jan 26 '18 17:01 jvbianchi

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.

DevanB avatar Jan 26 '18 18:01 DevanB

Any update on this?

ljanssen5 avatar Jun 06 '18 19:06 ljanssen5

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

mcabrams avatar Feb 20 '19 03:02 mcabrams