/// <summary> /// Creates a new systematic testing engine. /// </summary> public static TestingEngine Create(Configuration configuration) { try { TestMethodInfo testMethodInfo = TestMethodInfo.Create(configuration); return(new TestingEngine(configuration, testMethodInfo)); } catch (Exception ex) { Error.Report(ex.Message); throw; } }
/// <summary> /// Creates a new systematic testing engine. /// </summary> public static TestingEngine Create(Configuration configuration) { TestMethodInfo testMethodInfo = null; try { testMethodInfo = TestMethodInfo.Create(configuration); } catch (Exception ex) { Error.ReportAndExit(ex.Message); } return(new TestingEngine(configuration, testMethodInfo)); }
/// <summary> /// Creates a new systematic testing engine. /// </summary> public static TestingEngine Create(Configuration configuration) { TestMethodInfo testMethodInfo = null; try { testMethodInfo = TestMethodInfo.Create(configuration); } catch (Exception ex) { if (configuration.DisableEnvironmentExit) { throw; } else { Error.ReportAndExit(ex.Message); } } return(new TestingEngine(configuration, testMethodInfo)); }