Exemplo n.º 1
0
        public void start_an_inprocess_system_without_blowing_up()
        {
            var context = new TestContext();
            var system = new InProcessSerenitySystem<KayakApplication>();
            system.SetupEnvironment();
            system.RegisterServices(context);

            var driver = context.Retrieve<NavigationDriver>();

            driver.NavigateToHome();

            Thread.Sleep(5000);

            system.TeardownEnvironment();
        }
Exemplo n.º 2
0
        public void start_an_inprocess_system_without_blowing_up()
        {
            var context = new TestContext();
            var system  = new InProcessSerenitySystem <KayakApplication>();

            system.SetupEnvironment();
            system.RegisterServices(context);

            var driver = context.Retrieve <NavigationDriver>();

            driver.NavigateToHome();

            Thread.Sleep(5000);

            system.TeardownEnvironment();
        }
Exemplo n.º 3
0
 public void TearDown()
 {
     theSystem.TeardownEnvironment();
 }