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(); } }
public static void CleanVsExperimentalInstance() { VS.CleanVsExperimentalInstance(); }
public void CloseSolution() { VS.CloseSolution(); }
public void OpenSolutionAndTestExplorer() { VS.OpenSolution(); VS.TestExplorer.OpenTestExplorer(); }
public static void SetupVanillaVsExperimentalInstance(TestContext testContext) { VS.SetupVanillaVsExperimentalInstance("GoogleTestAdapterUiTests"); VS.LaunchVsExperimentalInstance(); }