Exemplo n.º 1
0
 public override void RegisterServices(ITestContext context)
 {
     if (_application.IsValueCreated)
     {
         context.Store(_application.Value);
         context.Store(new NavigationDriver(_application.Value));
     }
 }
Exemplo n.º 2
0
        public override void RegisterServices(ITestContext context)
        {
            base.RegisterServices(context);
            var remoteGraph = new RemoteBehaviorGraph(TEST_APPLICATION_ROOT);
            context.Store(remoteGraph);

            context.Store(_runner);
        }
Exemplo n.º 3
0
        public override void RegisterServices(ITestContext context)
        {
            base.RegisterServices(context);
            var remoteGraph = new RemoteBehaviorGraph(TEST_APPLICATION_ROOT);

            context.Store(remoteGraph);

            context.Store(_runner);
        }
Exemplo n.º 4
0
        public void RegisterServices(ITestContext context)
        {
            var remoteGraph = new RemoteBehaviorGraph(TEST_APPLICATION_ROOT);
            context.Store(remoteGraph);

            context.Store(_runner);

            context.Store(_application);
        }
Exemplo n.º 5
0
        public void RegisterServices(ITestContext context)
        {
            var remoteGraph = new RemoteBehaviorGraph(TEST_APPLICATION_ROOT);

            context.Store(remoteGraph);

            context.Store(_runner);

            context.Store(_application);
        }
Exemplo n.º 6
0
        public override void SetUp(ITestContext context)
        {
            _settings = new DeploymentSettings("storyteller");
            context.Store(_settings);

            _writer = new DeploymentWriter("storyteller");
        }
Exemplo n.º 7
0
 protected override void setUp(ITestContext context)
 {
     // Do any necessary bootstrapping just before a test run
     // ITestContext is effectively an IoC container, so you
     // might be registering your application services here
     _system = new SystemUnderTest();
     context.Store(_system);
 }
Exemplo n.º 8
0
 public override void RegisterServices(ITestContext context)
 {
     context.Store(_applications);
     context.Store(_applications.PrimaryApplication());
 }
Exemplo n.º 9
0
 public void RegisterServices(ITestContext context)
 {
     context.Store <IBrowserDriver>(new SeleniumBrowserDriver());
 }
 public override void SetUp(ITestContext context)
 {
     MyFoo = new MyFoo();
     context.Store(MyFoo);
 }
Exemplo n.º 11
0
 public override void SetUp(ITestContext context)
 {
     _options = new DeploymentOptions();
     context.Store(_options);
 }
Exemplo n.º 12
0
 public void RegisterServices(ITestContext context)
 {
     Record("RegisterServices");
     context.Store(this);
 }
Exemplo n.º 13
0
 protected override void registerServices(ITestContext context)
 {
     context.Store<IBrowserDriver>(new SeleniumBrowserDriver());
 }
Exemplo n.º 14
0
 public void RegisterServices(ITestContext context)
 {
     var selenium = new DefaultSelenium("localhost", 4444, @"*firefox C:\Program Files (x86)\Mozilla Firefox\firefox.exe", "http://localhost:60691");
     context.Store<IBrowserDriver>(new SeleniumBrowserDriver(selenium));
 }
Exemplo n.º 15
0
 public override void SetUp(ITestContext context)
 {
     context.Store(new SomeService());
 }