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

Create unit tests #104

Open
firepenguindisopanda opened this issue Sep 21, 2024 · 0 comments
Open

Create unit tests #104

firepenguindisopanda opened this issue Sep 21, 2024 · 0 comments

Comments

@firepenguindisopanda
Copy link

As a backend developer
I need to create unit tests for the backend API
So that I can ensure the functionality and reliability of the application

Details and Assumptions

  • Unit tests will focus on individual components of the backend (controllers, models) to ensure each part behaves as expected.
  • Testing frameworks and libraries such as Jest, Mocha, or Supertest will be utilized for testing.
  • A testing database will be set up to isolate tests from production data.
  • Test cases will be written to cover both successful and failure scenarios.

Acceptance Criteria

Given the backend API is implemented
When I run the unit tests
Then all unit tests should pass without errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant