Repository navigation
test(cli): root and dry-run tests use the public interface - #3930
Merged
Merged
Conversation
Owner
Author
|
Test and check results:
|
The tests of main.py, entry.py and dry_run/ run real commands through the cli fixture and the process fake. They patch no devops_cli name and import no private name. The three old files are split by behavior. Plans #3901 as an OpenSpec change.
dan-petty
force-pushed
the
test/1333-root-and-dry-run-tests-on-edge-fakes
branch
from
November 7, 2026 04:27
22ba442 to
d1744bd
Compare
Owner
Author
|
First CI run failed in one case: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The tests of the root module and of the dry-run package now use the public interface. They run real commands through the
clifixture. The process fake shows which programs a command starts. No test patches a devops_cli name or imports a private name.Each test file now covers one behavior. The tests that held several behaviors are split. The change touches no code under
src/.Closes #3901
Change:
openspec/changes/archive/2026-11-07-3901-root-and-dry-run-tests-on-edge-fakes/