Skip to content

Add backend tests for FastAPI endpoints #5

Description

@Homayed

Goal

Add automated tests for the backend root and health endpoints using pytest.

Acceptance Criteria

  • pytest is installed
  • httpx is installed for FastAPI TestClient
  • backend/requirements.txt is updated
  • backend/tests/ folder is created
  • test for GET / is added
  • test for GET /health is added
  • all tests pass locally

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions