Skip to content

[FEAT] Add testing for API #6

@Nipa-Dev

Description

@Nipa-Dev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedIssue has been aprovedenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions