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

Automated Tests #186

Open
cmparsons opened this issue Sep 10, 2018 · 0 comments
Open

Automated Tests #186

cmparsons opened this issue Sep 10, 2018 · 0 comments
Labels
type/test Integration/Unit Test

Comments

@cmparsons
Copy link
Contributor

I think it would be a good idea to start writing unit, integration, and (possibly) end-to-end tests for the app. This will be very helpful as the codebase grows.

Frameworks for client:

  • Jest (already included in CRA)
  • react-testing-library / enzyme (I have preference over react-testing-library because it has a nicer API that would represent user interaction, and it encourages good testing practices)
  • cypress.io (end-to-end)

Server:
Not sure if testing REST endpoints is common, but writing unit tests for DB functions and other misc functions would be helpful.

  • Jest / (Mocha / Chai)
@cmparsons cmparsons added the type/test Integration/Unit Test label Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/test Integration/Unit Test
Projects
None yet
Development

No branches or pull requests

1 participant