public void RunAllTests_UserSettings_ShuffledTestExecutionAndNoBatchWarning() { try { try { VS.TestExplorer.SelectTestSettingsFile(VS.UserSettingsFile); VS.TestExplorer.RunAllTests(); string output = VS.GetOutput(); output.Should().Contain("--gtest_shuffle"); output.Should().Contain("--gtest_repeat=3"); output.Should().NotContain(BatchTeardownWarning); } finally { VS.TestExplorer.UnselectTestSettingsFile(); } } catch (AutomationException exception) { exception.LogAndThrow(); } }
public void RunAllTests_GlobalAndSolutionSettings_BatchTeardownWarning() { try { VS.TestExplorer.RunAllTests(); VS.GetOutput().Should().Contain(BatchTeardownWarning); } catch (AutomationException exception) { exception.LogAndThrow(); } }