Skip to content

[LOCKLITE-147] Link tests with recipes#88

Merged
vbetsch merged 1 commit intodevelopfrom
test/147-link-recipes
Aug 9, 2025
Merged

[LOCKLITE-147] Link tests with recipes#88
vbetsch merged 1 commit intodevelopfrom
test/147-link-recipes

Conversation

@vbetsch
Copy link
Owner

@vbetsch vbetsch commented Aug 9, 2025

No description provided.

@vbetsch vbetsch requested a review from Copilot August 9, 2025 23:09
@vbetsch vbetsch self-assigned this Aug 9, 2025
@vbetsch vbetsch added documentation Improvements or additions to documentation tests About tests configuration, suites or tests labels Aug 9, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR links unit tests with their corresponding test recipes by adding recipe identifiers to test descriptions. The changes ensure traceability between test cases and their documented test scenarios in the recipes documentation.

Key changes:

  • Updated test descriptions to include recipe identifiers (e.g., "TS-F0.2", "TC-F2.1.A", "SE-HASH")
  • Added unit test coverage checkboxes to the recipes documentation
  • Enhanced test traceability for better test management

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/units/modules/shared/services/request.service.test.ts Added TS-F0.2 identifiers to HTTP request tests
tests/units/modules/shared/errors/http-error.test.ts Added TS-F0.1 identifiers to HTTP error tests
tests/units/modules/shared/errors/business-error.test.ts Added TS-F0.1 identifier to business error test
tests/units/modules/api/infra/prisma/helpers/handle-prisma-errors.test.ts Added TS-F1.3 identifier to Prisma error handling test
tests/units/modules/api/domain/usecases/auth/signin.usecase.test.ts Added TC-F2.1.A and TC-F2.1.B identifiers to sign-in use case tests
tests/units/modules/api/domain/services/hash.service.test.ts Added SE-HASH identifiers to hash service test suites
tests/units/modules/api/app/helpers/handle-api-request.test.ts Added SE-GUARD identifier to authentication guard test
docs/RECETTES.md Added unit test coverage checkboxes to recipe documentation

@vbetsch vbetsch merged commit 6786c56 into develop Aug 9, 2025
4 checks passed
@vbetsch vbetsch deleted the test/147-link-recipes branch August 9, 2025 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation tests About tests configuration, suites or tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants