relay-fullstack icon indicating copy to clipboard operation
relay-fullstack copied to clipboard

Testing and CI

Open ncrmro opened this issue 8 years ago • 4 comments

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

ncrmro avatar Feb 17 '17 17:02 ncrmro

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.

ncrmro avatar Feb 17 '17 19:02 ncrmro

Totally agree with you! Testing and CI are the missing parts in Relay Fullstack.

lvarayut avatar Feb 20 '17 14:02 lvarayut

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?

ncrmro avatar Mar 06 '17 16:03 ncrmro

Master and canary don't use yo currently. Check out my PR to incorporate it.

Neitsch avatar Mar 06 '17 18:03 Neitsch