public static Runner BySetupPaths(string workingDirectory, string testAssembly, string resultsPath,string testName="", string fixtureName="") { var products = FindRevit(); var runner = new Runner { WorkingDirectory = workingDirectory, TestAssembly = testAssembly, Test = testName, Fixture = fixtureName, Results = resultsPath, Gui = false, RevitPath = Path.Combine(products.First().InstallLocation, "revit.exe") }; return runner; }