Skip to content

AllExceptionsFilter test for every documented error envelope #286

Description

@kilodesodiq-arch

Problem Statement. error-handling.e2e-spec.ts covers some shapes; it's unclear
that every code path is documented.

Technical Context.
app/backend/src/common/filters/http-exception.filter.ts,
app/backend/test/error-handling.e2e-spec.ts.

Expected Outcome. A regex-based test enumerates every @ApiResponse({ status: 4xx }) or 5xx }) in the Swagger output and asserts there is a corresponding test.

Acceptance Criteria.

  • CI runs the matrix; missing tests fail loudly.

Files or modules likely to be affected.
new app/backend/test/error-envelope-coverage.spec.ts.

Difficulty. Medium
Estimated effort. M



Backlog item #78 from `docs/maintainer-issue-backlog.md.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions