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

Configure a test suite for the dashboard #5

Open
YashKumarVerma opened this issue Nov 16, 2021 · 3 comments
Open

Configure a test suite for the dashboard #5

YashKumarVerma opened this issue Nov 16, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested

Comments

@YashKumarVerma
Copy link
Collaborator

Frontends have a lot of functionality, that needs to be manually tested every time.

Task

research for possible test runners, weigh the pros and cons, and suggest a test runner which can be used on the project.

Reference

  1. https://www.cypress.io/
  2. https://testing-library.com/
  3. https://jestjs.io/docs/tutorial-react
@YashKumarVerma YashKumarVerma added documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested labels Nov 16, 2021
@atharmohammad
Copy link

depends on the use case , if we want to test components and API's i think testing-library with jest would be the best option but if we are looking for end to end test we can use cypress . Using cypress we could mock API's but output of test would be slow .

@reachaadrika
Copy link

@YashKumarVerma I think Jest would be the best option here .

@YashKumarVerma
Copy link
Collaborator Author

@atharmohammad @reachaadrika

the end goal is to test the individual methods ( unit tests ) and final end to end tests ( UI ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants