relay-fullstack
relay-fullstack copied to clipboard
Testing and CI
At the moment I have a project that whenever the repo get's pushed to has circle ci
- build the project
- tests graphql end point query works
- uses selenium to
- navigate to a few pages to make sure they load
- test form validation errors such as sign up form
- takes a picture which circle ci stores
I'd like to add some of this testing to this project. I'm thinking the first pull request would simply be to get the project to build on ci.
Then go from there.
Browser Testing
- mocha
- Selenium
Unit Testing
- Jest
CI Contentious Integration
- circle ci
This pull request has a pretty simple ci config to get things moving.
Let me know what guys thinks if you like the idea or not.
Totally agree with you! Testing and CI are the missing parts in Relay Fullstack.
So I've been thinking the best way to incorporate tests into the canary branch before further investigating. Which should technically use yo to generate the project and test that rather than the branch?
Master and canary don't use yo currently. Check out my PR to incorporate it.