public void EnforceUniqueTestNames()
        {
            Reporter r = Reporter.CreateReporter(new PerfLabEnvironmentProviderMock());
            Test     t = new Test();

            t.Name = "Duplicate";
            r.AddTest(t);
            Assert.Throws <Exception>(() => { r.AddTest(t); });
        }
Exemple #2
0
        public void SetupTest()
        {
            DataBaseSteps db = new DataBaseSteps();

            db.atualizacaoCargaUsuario();
            db.atualizacaoCargaProjeto();
            db.atualizacaoCargaMarcadores();
            Reporter.AddTest();
            DriverFactory.Initialize(ConfigurationManager.AppSettings["Browser"]);
            DriverFactory.Instance.Manage().Cookies.DeleteAllCookies();
        }
 public void SetupTest()
 {
     Reporter.AddTest();
 }