コード例 #1
0
        public TestBase(ITestOutputHelper output)
        {
            var logRepository = LogManager.GetRepository(Assembly.GetEntryAssembly());
            var fileinfo      = new FileInfo(Const.LogFileName);

            if (fileinfo.Exists)
            {
                XmlConfigurator.ConfigureAndWatch(logRepository, fileinfo);
            }
            logger = LogManager.GetLogger(this.GetType());

            data               = ConfigManager.Instance;
            driver             = AlphaPointWebDriver.GetInstanceOfAlphaPointWebDriver();
            TestProgressLogger = new ProgressLogger(output, logger, driver);
        }
コード例 #2
0
 public GenericUtils(ProgressLogger logger)
 {
     this.logger = logger;
     data        = ConfigManager.Instance;
     driver      = AlphaPointWebDriver.GetInstanceOfAlphaPointWebDriver();
 }