|Adr-Plus Fields|Values Migrated | |–|–| |ADR|Test driver sharing mechanism| |Version|01| |Revision|01| |Scope|| |Domain|| |Created|Proposed (2026-07-22)| |Changed|Accepted (2026-07-22)| |Superseded|Superseded (2026-07-23) : 0026|
The test architecture needs a shared “driver” (an ANSI-consuming console test
harness, tests/_driver-src/*.cs) usable by the test projects of both
ConsolePlus and PromptPlus. At the time this decision was first closed
(2026-07-22), the working assumption was a single repository hosting both
libraries, and no test project or link-source pattern existed yet in the repo
(clean ground, no conflict).
Adopt a single linked-source mechanism: keep one physical copy of the driver
under tests/_driver-src/*.cs and reference it from each *.Tests.csproj with
<Compile Include="..." LinkBase="..." />, so both test projects compile the
same source files without duplication.
<Compile Include> link becomes fragile or impossible.This record was superseded on 2026-07-23 when it was confirmed that ConsolePlus and PromptPlus are two distinct GitHub repositories, invalidating the single-repo assumption. See ADR0026V01R01.