You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Share the assert_names_no_source_path test helper #2996
Part of EPIC #2912. SI-8, after SI-6 in the table but independent of it.
Goal
Reduce the seven copies of the test helper assert_names_no_source_path to three: define it once in torrust-tracker-test-helpers for the four packages (tracker-core, axum-http-server, axum-rest-api-server, udp-server) that already list it as a dev-dependency, and cross-link the three remaining definitions (test-helpers, http-protocol, primitives) so they do not drift. No package gains a dependency and no behavior changes, except that a few test failure messages share one wording.
Why
Sub-issues SI-2 to SI-4 each added a copy of the same helper. The reviewer raised it as finding F5 of PR #2991 and suggested merging the copies into test-helpers (rule B of the test-support ADR). The maintainer decided on 2026-11-22 to do it as a new sub-issue without increasing package coupling, and to reconsider removing the last two copies later. primitives cannot use test-helpers (dev-dependency cycle through configuration), and http-protocol would gain a dev-dependency on a package that configures and logs trackers.
Specification
docs/issues/open/2996-2912-si-8-share-assert-names-no-source-path/ISSUE.md (added by the spec-only PR of this issue). It records the options A to E and the reason for choosing E.
Activity
docs(issues): [#2996] add specification to share the assert_names_no_…
Merge #2998: docs(issues): [#2996] add specification to share the ass…
Merge #3001: fix(errors): [#2917] remove source locations from the co…
Merge #3018: refactor(errors): [#2918] drop torrust-located-error and…
refactor(test-helpers): [torrust#2996] import catch_unwind in the ass…
docs(pr-reviews): [torrust#2996] add the PR 3041 review audit record
docs(pr-reviews): [torrust#2996] record the reply and resolved thread…
test(test-helpers): [torrust#2996] check that each rejected message n…
docs(test-helpers): [torrust#2996] wrap the long cross-link lines of …
docs(issues): [torrust#2996] cite each acceptance criterion's own evi…
docs(pr-reviews): [torrust#2996] record review round 2 of PR 3041 in …
docs(pr-reviews): [torrust#2996] record the replies and resolved thre…
docs(issues): [torrust#2996] cite the PR 3041 review findings by thei…
docs(pr-reviews): [torrust#2996] record review round 3 of PR 3041 in …
docs(pr-reviews): [torrust#2996] record the replies of round 3 in the…
8 remaining items
refactor(axum-rest-api-server): [#2996] use the shared assert_names_n…
docs(test-helpers): [#2996] cross-link the five assert_names_no_sourc…
docs(issues): [#2996] record the verification evidence and progress o…
Merge torrust#3041: test(test-helpers): [torrust#2996] share the asse…
docs(issues): [torrust#2996] correct the SI-8 progress log and checkp…
docs(pr-reviews): [torrust#2996] record review round 1 of PR 3057 in …
docs(issues): [torrust#2996] state which reviews the SI-8 reviewer-re…
docs(pr-reviews): [torrust#2996] record review round 2 of PR 3057 in …
docs(pr-reviews): [torrust#2996] record the reply of round 2 in the P…
docs(pr-reviews): [torrust#2996] bring the PR 3057 audit in line with…
docs(pr-reviews): [torrust#2996] record the reply of round 3 in the P…
chore(issues): [#2996] archive the SI-8 spec to docs/issues/closed an…
Merge #3057: chore(issues): archive closed issue #2996 spec to docs/i…