Skip to content

[M1] Establish NestJS API testing baseline #12

Description

@rodrigolinhas

Goal

Ensure V2 begins with automated tests instead of carrying V1's zero-test baseline forward.

Expected Scope

  • Unit tests only where they add value.
  • Integration/API tests using Supertest or appropriate equivalent.
  • Isolated test configuration (.env.test).
  • Database-test strategy.
  • Deterministic test setup/cleanup.

Acceptance Criteria

  • V2 has a working automated test command (npm run test:v2 or similar).
  • At least one Nest application/API test executes successfully.
  • Health/readiness behavior is tested.
  • Test database state is deterministic.
  • Tests do not destroy developer V1 SQLite data.
  • Tests do not depend on manually created local state.

Dependencies

Suggested PR

PR 3 — Health/readiness + OpenAPI + testing foundation (with Issues E and F)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions