private int ExploreTests(ITestFilter filter) { ITest testNode = _runner.ExploreTests(filter); var specs = _options.ExploreOutputSpecifications; if (specs.Count == 0) { new TestCaseOutputWriter().WriteTestFile(testNode, Console.Out); } else { var outputManager = new OutputManager(_options.WorkDirectory); foreach (var spec in _options.ExploreOutputSpecifications) { outputManager.WriteTestFile(testNode, spec); } } return(OK); }
private int ExploreTests() { #if !PORTABLE && !SILVERLIGHT ITest testNode = _runner.LoadedTest; var specs = _options.ExploreOutputSpecifications; if (specs.Count == 0) { new TestCaseOutputWriter().WriteTestFile(testNode, Console.Out); } else { var outputManager = new OutputManager(_options.WorkDirectory); foreach (var spec in _options.ExploreOutputSpecifications) { outputManager.WriteTestFile(testNode, spec); } } #endif return(OK); }
private int ExploreTests() { #if !PORTABLE && !SILVERLIGHT ITest testNode = _runner.LoadedTest; var specs = _options.ExploreOutputSpecifications; if (specs.Count == 0) new TestCaseOutputWriter().WriteTestFile(testNode, Console.Out); else { var outputManager = new OutputManager(_options.WorkDirectory); foreach (var spec in _options.ExploreOutputSpecifications) outputManager.WriteTestFile(testNode, spec); } #endif return OK; }