redbadger / badger-brain

GraphQL server for all Red Badger related data
https://redbadger.github.io/badger-brain/
Apache License 2.0
13 stars 0 forks source link

Schema testing #69

Open asavin opened 8 years ago

asavin commented 8 years ago

Badger Brain is growing and we need an automatic way to verify that all GraphQL queries are still returning correct JSON responses.

The idea is to utilise a tool that would record HTTP requests and responses, and then replay HTTP requests to Badger Brain, receive responses and verify that responses are still matching to what we expect it to return.

Inspiration: https://www.npmjs.com/package/api-vcr

StuartHarris commented 8 years ago

Hoverfly is great for this.

On Tuesday, 23 August 2016, Alexander Savin notifications@github.com wrote:

Badger Brain is growing and we need an automatic way to verify that all GraphQL queries are still returning correct JSON responses.

The idea is to utilise a tool that would record HTTP requests and responses, and then replay HTTP requests to Badger Brain, receive responses and verify that responses are still matching to what we expect it to return.

Inspiration: https://www.npmjs.com/package/api-vcr

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/redbadger/badger-brain/issues/69, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMbIHW5MvXiBwqNED5KssT6vBoBAyUoks5qirj8gaJpZM4JqtSW .

Stuart Harris

M +44 (0)782 820 3458 T @stuartharris https://twitter.com/StuartHarris

Red Badger Consulting Limited 12 Mallow Street, London EC1Y 8RQ UK W http://red-badger.com T @redbadgerteam https://twitter.com/redbadgerteam Registered in England No. 7242017 Registered Office: 12 Mallow Street, London, EC1Y 8RQ