public void ResetTests(bool runDefaultTest) { instance = null; ViewTests.RemoveAll(); currentControls.Reset(); PopulateViewTests(); Output.Clear(); if (runDefaultTest && DefaultViewTest != null) DefaultViewTest.Execute(); }