예제 #1
0
 public TestViewModel(TestCase testCase)
 {
     TestCase = testCase;
     Name = testCase.Name.PrettifyIdentifier();
     ClassName = testCase.TestClassName.PrettifyIdentifier();
     Description = "";
 }
예제 #2
0
        private void Run(TestCase testCase)
        {
            TestCaseStarting(testCase);

            var result = testCase.Run();

            TestCaseFinished(testCase, result);
        }
        private void OnTestCaseFinished(TestCase testCase, TestResult testResult)
        {
            InvokeUIAction(() => { IsProgressIndeterminate = false; });

            _executingTestViewModelsByTestCaseId[testCase.Id].OnTestCaseFinished(testResult);
        }
 private void OnTestCaseStarting(TestCase testCase)
 {
     _executingTestViewModelsByTestCaseId[testCase.Id].OnTestCaseStarting();
 }