public void Setup()
        {
            Environment.CurrentDirectory    = TestContext.CurrentContext.TestDirectory;
            Global.Config.DocsPath          = "../../../AdminInterface/Docs/";
            Global.Config.RegisterListEmail = "*****@*****.**";

            ForTest.InitialzeAR();
            IntegrationFixture2.Factory = ActiveRecordMediator.GetSessionFactoryHolder().GetSessionFactory(typeof(ActiveRecordBase));
        }
Exemplo n.º 2
0
 public void SetupFixture()
 {
     Environment.CurrentDirectory = TestContext.CurrentContext.TestDirectory;
     ForTest.InitialzeAR();
     IntegrationFixture2.Factory = ActiveRecordMediator.GetSessionFactoryHolder()
                                   .GetSessionFactory(typeof(ActiveRecordBase));
     _webServer              = WatinSetup.StartServer();
     SeleniumFixture.WebDir  = WatinSetup.WebDir;
     SeleniumFixture.WebRoot = WatinSetup.WebRoot;
     SeleniumFixture.WebPort = WatinSetup.WebPort;
     SeleniumFixture.GlobalSetup();
 }