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

Setup unit tests #12

Open
2 tasks
elianiva opened this issue Nov 12, 2022 · 0 comments
Open
2 tasks

Setup unit tests #12

elianiva opened this issue Nov 12, 2022 · 0 comments

Comments

@elianiva
Copy link
Member

elianiva commented Nov 12, 2022

To keep our code reliable and more resilient against changes, we should write unit tests for every code we add. The coverage doesn't have to be 100% but it's good to have close to 100% coverage.

We can use Vitest and React Testing Library for the frontend.
For backend we can use Jest and Supertest that already comes with NestJS. See this page for details.

For now let's just focus on unit tests, no need to write integration/E2E.

TODO:

  • Frontend unit test setup
  • Backend unit test setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant