Ejemplo n.º 1
0
        public virtual void OnTestInitialise()
        {
            var testMethod = TestContext.TestName;

            try
            {
                TestManager = Core.TestManager.Instance();
                TestManager.OnTestMethodInitialise(testMethod, TestContext);
                CustomAttributesInitialise(testMethod);
            }
            catch (Exception ex)
            {
                if (LoggingUtility == null || ConfigurationReader == null)
                {
                    throw;
                }

                LoggingUtility.Error(Exceptions.Exception.ExceptionMsgSetupError + ex.Message);

                throw;
            }
        }
 public static void Initialise(TestContext testContext)
 {
     TestManager.Instance().OnInitialiseAssemblyDependencies(testContext);
 }
 public static void Cleanup()
 {
     TestManager.Instance().OnDisposeAssemblyDependencies();
 }