|Adr-Plus Fields|Values Migrated |
|–|–|
|ADR|Test driver sharing mechanism|
|Version|01|
|Revision|01|
|Scope||
|Domain||
|Created|Proposed (2026-07-23)|
|Changed|Accepted (2026-07-23)|
|Superseded||

# PromptPlus
## **ADR0026V01R01**
[](https://www.nuget.org/packages/PromptPlus)
[](https://opensource.org/licenses/MIT)
[](https://dotnet.microsoft.com/)
↑ ADR Index
ADR0026V01R01 — Test driver sharing mechanism
Context
The previous version (V01)
assumed a single repository and chose a linked-source mechanism. Verification on
2026-07-23 established that ConsolePlus and PromptPlus are two independent
GitHub repositories (origin remotes differ), so a single physical
link-source shared across repositories is not viable.
Decision
Use a physical copy of the driver in each repository:
ConsolePlus/tests/_driver-src and PromptPlus/tests/_driver-src, as
independent copies, each versioned in its own repository.
Alternatives considered (rejected)
- Dedicated NuGet package for the driver — rejected: too much packaging /
release overhead for a test-only utility.
- Independent drivers written from scratch per repo — rejected: guarantees
divergence and double the maintenance of the ANSI-consuming logic.
Consequences
- Positive: each repository is self-contained and builds without cross-repo
path assumptions.
- Negative / trade-off: the two copies can drift over time. Mitigation: treat the
driver as a synchronized artifact per the maintenance doc, and keep the ANSI
interpreter independent of the writer so unit-level width/overflow tests do not
depend on the driver itself.