Exemple #1
0
 /// <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;
     }
 }
Exemple #2
0
        /// <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));
        }
Exemple #3
0
        /// <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));
        }