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

Add testing frameworks #53

Open
4 of 7 tasks
GoelBiju opened this issue Apr 11, 2021 · 2 comments
Open
4 of 7 tasks

Add testing frameworks #53

GoelBiju opened this issue Apr 11, 2021 · 2 comments
Assignees
Labels
Backend Issues related to the server/database Frontend Issues related to the frontend application Not MVP This is not part of the MVP and less urgent

Comments

@GoelBiju
Copy link
Owner

GoelBiju commented Apr 11, 2021

Description:

Add the appropriate testing frameworks i.e. Jest, Cypress for unit and usability/integration testing. Set up backend testing frameworks and overall code coverage.

Acceptance criteria:

  • Add Jest support for frontend,
  • Add Cypress support for frontend,
  • Add nyc/mocha for unit testing backend,
  • Add chai-http for integration testing support on backend,
  • Add support for testing MongoDB through unit and integration testing,
  • Add testing support for socket.io,
  • Add code coverage support (coveralls).
@GoelBiju GoelBiju added Frontend Issues related to the frontend application Backend Issues related to the server/database MVP Part of the minimum viable product (MVP) labels Apr 11, 2021
@GoelBiju GoelBiju self-assigned this Apr 12, 2021
GoelBiju added a commit that referenced this issue Apr 12, 2021
GoelBiju added a commit that referenced this issue Apr 14, 2021
GoelBiju added a commit that referenced this issue Apr 14, 2021
@GoelBiju
Copy link
Owner Author

I have added Cypress test support which starts the whole stack (frontend, pareto-front plugin and backend) in order for the tests to run. I need to now add some test data when running in end-to-end testing mode so Cypress can use the test data.

@GoelBiju
Copy link
Owner Author

There is currently an issue where the e2e tests are failing. This is now being tracked using #56.

GoelBiju added a commit that referenced this issue May 11, 2021
GoelBiju added a commit that referenced this issue May 11, 2021
GoelBiju added a commit that referenced this issue Jun 8, 2021
@GoelBiju GoelBiju added Not MVP This is not part of the MVP and less urgent and removed MVP Part of the minimum viable product (MVP) labels Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Issues related to the server/database Frontend Issues related to the frontend application Not MVP This is not part of the MVP and less urgent
Projects
None yet
Development

No branches or pull requests

1 participant