Skip to content

docs(openspec): plan #2167 migrate 49 tests to public interfaces - #2982

Merged
dan-petty merged 1 commit into
mainfrom
test/2167-the-49-test-files-that-no
Nov 1, 2026
Merged

dan-petty merged 1 commit into
mainfrom
test/2167-the-49-test-files-that-no

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #2167

Plans the migration of 49 test files that patch devops_cli internal names or import private names. Each file is rewritten to test through the public CLI interface over shared fakes from tests/support/fakes/. Private product code that exists only for a test patch is removed. No test deletes a behaviour check; each test still asserts the same outcome. The work follows ADR 0007 as amended by #2143 and the rules in docs/TESTING.md.

Change: openspec/changes/2167-the-49-test-files-that-no/

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 1, 2026 05:57
@dan-petty
dan-petty merged commit 2bb15d5 into main Nov 1, 2026
18 checks passed
@dan-petty
dan-petty deleted the test/2167-the-49-test-files-that-no branch November 1, 2026 10:18
dan-petty added a commit that referenced this pull request Nov 1, 2026
This change corrects the OpenSpec plan of #2167 in place. It changes
only the folder `openspec/changes/2167-the-49-test-files-that-no/`. It
changes no code and no test.

The first plan came from the Service (pull request #2982). An evaluation
of 2026-11-01 found that it was not safe to build from. Most paths of
the issue table were stale, the counts of the audit were old, and the
groups did not match the code.

The corrected plan:
- Uses the real mirror paths of the test files on `main`.
- Covers 43 files, not 49, in 21 groups. Six files are clean already.
- Gives the evidence for each premise in the Feasibility section.
- Lists every user of each renamed name, including the tests and
documents that the first plan missed.
- Gives the IPv6 probe test its own loopback server, with a skip where
the host has no IPv6 loopback.

Plans #2167
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant