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