private void RunNextTestGroup()
 {
     if (m_testGroups.Count > 0)
     {
         var groupTestsRunner = new SA_GroupTestRunner(m_testGroups[0]);
         groupTestsRunner.OnGroupTestStarted += (groupTitle) => {
             OnGroupTestStarted.Invoke(groupTitle);
         };
         groupTestsRunner.OnTestStarted += (testTitle) => {
             OnTestStarted.Invoke(testTitle);
         };
         groupTestsRunner.OnTestFinished += (testResult) => {
             OnTestResult.Invoke(testResult);
         };
         m_testGroups.RemoveAt(0);
         groupTestsRunner.Execute(RunNextTestGroup);
     }
 }
Exemple #2
0
 void ICallbacks.TestStarted(ITestAdaptor test)
 {
     OnTestStarted?.Invoke(test);
 }