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

            context.Store(_runner);
        }
예제 #3
0
        public override void RegisterServices(ITestContext context)
        {
            base.RegisterServices(context);
            var remoteGraph = new RemoteBehaviorGraph(TEST_APPLICATION_ROOT);

            context.Store(remoteGraph);

            context.Store(_runner);
        }
예제 #4
0
        public void RegisterServices(ITestContext context)
        {
            var remoteGraph = new RemoteBehaviorGraph(TEST_APPLICATION_ROOT);
            context.Store(remoteGraph);

            context.Store(_runner);

            context.Store(_application);
        }
예제 #5
0
        public void RegisterServices(ITestContext context)
        {
            var remoteGraph = new RemoteBehaviorGraph(TEST_APPLICATION_ROOT);

            context.Store(remoteGraph);

            context.Store(_runner);

            context.Store(_application);
        }
예제 #6
0
        public override void SetUp(ITestContext context)
        {
            _settings = new DeploymentSettings("storyteller");
            context.Store(_settings);

            _writer = new DeploymentWriter("storyteller");
        }
예제 #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);
 }
예제 #8
0
 public override void RegisterServices(ITestContext context)
 {
     context.Store(_applications);
     context.Store(_applications.PrimaryApplication());
 }
예제 #9
0
 public void RegisterServices(ITestContext context)
 {
     context.Store <IBrowserDriver>(new SeleniumBrowserDriver());
 }
 public override void SetUp(ITestContext context)
 {
     MyFoo = new MyFoo();
     context.Store(MyFoo);
 }
예제 #11
0
 public override void SetUp(ITestContext context)
 {
     _options = new DeploymentOptions();
     context.Store(_options);
 }
예제 #12
0
 public void RegisterServices(ITestContext context)
 {
     Record("RegisterServices");
     context.Store(this);
 }
예제 #13
0
 protected override void registerServices(ITestContext context)
 {
     context.Store<IBrowserDriver>(new SeleniumBrowserDriver());
 }
예제 #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));
 }
예제 #15
0
 public override void SetUp(ITestContext context)
 {
     context.Store(new SomeService());
 }