Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

testing example #13

Open
aleksandersumowski opened this issue Dec 16, 2019 · 2 comments
Open

testing example #13

aleksandersumowski opened this issue Dec 16, 2019 · 2 comments

Comments

@aleksandersumowski
Copy link

Is there a suggested way to write automated, local tests for AppSync backed by Postgres Aurora? I'd like to run them as part of CI pipeline and not have to call actual service

@AaronHarris
Copy link

AaronHarris commented Dec 24, 2019

We currently don't offer a way to mock calls to Aurora Serverless, but you can take a look at https://aws.amazon.com/blogs/aws/new-local-mocking-and-testing-with-the-amplify-cli/ which lets you test run AppSync resolvers locally.

@ghost
Copy link

ghost commented Jan 6, 2020

The posibility to test the resolvers is quite cool, but it seems closely coupled to the Amplify framework. Running amplify mock api results in a "not working inside a valid amplify project" Would it be possible to extract it/make it independent? I was considering to use AppSync as an internal API, not a backend for a website - Amplify is completely irrelevant for us ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants