Skip to content

Conversation

mitchdenny
Copy link
Member

This is a work in progress. There are a series of changes that need to be made to the CLI to make it more testable.

Its possible this PR won't be the final form - its more of an exploration.

The key changes is turning some things like DotNetCliRunner into an interface so we can sub it in test cases, and putting UX interactions behind an interactivity service so we can simulate user input in test cases (and assert of things).

We also need to abstract out some basic file system operations to make testing easier.

@mitchdenny mitchdenny added this to the 9.3 milestone Apr 6, 2025
@mitchdenny mitchdenny self-assigned this Apr 6, 2025
@mitchdenny mitchdenny closed this Apr 11, 2025
@mitchdenny mitchdenny deleted the mitchdenny/cli-testability-part-1 branch April 11, 2025 02:13
@github-actions github-actions bot locked and limited conversation to collaborators May 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant