You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if using AnsiConsole.Console <- console is the correct way of doing it? I am asking because I didn't see something similar in spectre.console repository.
I am also wondering if I should not revert AnsiConsole.Console to its original value after the test?
The text was updated successfully, but these errors were encountered:
Hello,
I am working on a CLI tool and would like to test the workflow of it.
After some trial and error, and by looking at the source code of this project I was able to find the
TestConsole
class.It allowed me to write code like that:
I am not sure if using
AnsiConsole.Console <- console
is the correct way of doing it? I am asking because I didn't see something similar inspectre.console
repository.I am also wondering if I should not revert
AnsiConsole.Console
to its original value after the test?The text was updated successfully, but these errors were encountered: