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

[FEAT] Add testing for API #6

Open
Nipa-Dev opened this issue May 8, 2024 · 1 comment
Open

[FEAT] Add testing for API #6

Nipa-Dev opened this issue May 8, 2024 · 1 comment
Labels
approved Issue has been aproved enhancement New feature or request

Comments

@Nipa-Dev
Copy link
Owner

Nipa-Dev commented May 8, 2024

Add testing to lemonapi

Currently the API is missing testing and lack of testing can make it hard to ensure that the app works as it should. Including tests with FastAPI TestClient and testing at least the primary endpoints and their functionality makes it easier to notice if something doesn't work.

Minimal list of tasks

Writing tests for endpoints to make sure:

  • database connection works as it should
  • user authentication works
  • can access protected/public endpoints without problem
  • endpoints return the correct data you would expect

Other

Aim for full coverage of endpoints to make sure everything works

@Nipa-Dev Nipa-Dev added enhancement New feature or request approved Issue has been aproved labels May 8, 2024
@realstealthninja
Copy link

on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Issue has been aproved enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants