public override void RegisterServices(ITestContext context) { if (_application.IsValueCreated) { context.Store(_application.Value); context.Store(new NavigationDriver(_application.Value)); } }
public override void RegisterServices(ITestContext context) { base.RegisterServices(context); var remoteGraph = new RemoteBehaviorGraph(TEST_APPLICATION_ROOT); context.Store(remoteGraph); context.Store(_runner); }
public void RegisterServices(ITestContext context) { var remoteGraph = new RemoteBehaviorGraph(TEST_APPLICATION_ROOT); context.Store(remoteGraph); context.Store(_runner); context.Store(_application); }
public override void SetUp(ITestContext context) { _settings = new DeploymentSettings("storyteller"); context.Store(_settings); _writer = new DeploymentWriter("storyteller"); }
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); }
public override void RegisterServices(ITestContext context) { context.Store(_applications); context.Store(_applications.PrimaryApplication()); }
public void RegisterServices(ITestContext context) { context.Store <IBrowserDriver>(new SeleniumBrowserDriver()); }
public override void SetUp(ITestContext context) { MyFoo = new MyFoo(); context.Store(MyFoo); }
public override void SetUp(ITestContext context) { _options = new DeploymentOptions(); context.Store(_options); }
public void RegisterServices(ITestContext context) { Record("RegisterServices"); context.Store(this); }
protected override void registerServices(ITestContext context) { context.Store<IBrowserDriver>(new SeleniumBrowserDriver()); }
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)); }
public override void SetUp(ITestContext context) { context.Store(new SomeService()); }