Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up testing framework #72

Closed
9 of 11 tasks
alexieyizhe opened this issue Oct 29, 2019 · 1 comment · Fixed by #75
Closed
9 of 11 tasks

Set up testing framework #72

alexieyizhe opened this issue Oct 29, 2019 · 1 comment · Fixed by #75
Labels
priority: high Should be worked on first

Comments

@alexieyizhe
Copy link
Owner

alexieyizhe commented Oct 29, 2019

Cypress has been set up for end to end tests.

Still to do:

  • Run on CI
  • Set up ability to mock graphql server data (use apollo-mock-client pkg)
  • Write mocks for all data
    • Companies details
    • Jobs details
    • Reviews details
    • resolvers for [companies|jobs|reviews]List
  • Ensure mock data from Faker is consistent between reloads using seed (for tests)
  • Add Percy snapshots
  • Set up framework to write unit tests (see Add more unit tests #70 for options)
  • Write basic unit test
@alexieyizhe alexieyizhe added priority: high Should be worked on first effort: medium labels Oct 29, 2019
This was referenced Oct 29, 2019
@alexieyizhe
Copy link
Owner Author

alexieyizhe commented Nov 1, 2019

Looks like cypress-react-unit-test has iffy support for styled-components, and nonexistent support for TypeScript currently :/ Moving unit test related tasks to #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high Should be worked on first
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant