public void ItRunsWithQuietVerbosityByDefault() { var result = new ToolCommand() .ExecuteWithCapturedOutput("install -g nonexistent_tool_package"); result .Should() .Fail() .And .NotHaveStdOutContaining("Restoring"); }
public void ItRunsWithTheSpecifiedVerbosity() { var result = new ToolCommand() .ExecuteWithCapturedOutput("install -g -v:m nonexistent_tool_package"); result .Should() .Fail(); result .StdOut .Should() .ContainVisuallySameFragmentIfNotLocalized("Restoring"); }