Пример #1
0
        private static RunnerResult GetRunnerResult(ITestEngineRunner runner)
        {
            var result = new RunnerResult(runner.GetType());

            if (runner is AggregatingTestRunner aggRunner)
            {
                result.SubRunners = aggRunner.Runners.Select(GetRunnerResult).ToList();
            }

            return(result);
        }