public Package1Fixture(RemoteBehaviorGraph remoteGraph, ApplicationDriver application) { _remoteGraph = remoteGraph; _application = application; Title = "For TestPackage1 (Assembly 'TestPackage1')"; }
public void SetupEnvironment() { // TODO -- make this configurable? _runner = new CommandRunner(); _runner.RunFubu("createvdir src/FubuTestApplication fubu-testing"); _application = new ApplicationDriver(); }
public Package4Fixture(RemoteBehaviorGraph remoteGraph, ApplicationDriver application) { _remoteGraph = remoteGraph; _application = application; Title = "For TestPackage4 - Spark (Assembly 'TestPackage4')"; this["SetUp"] = Embed<PackagingSetupFixture>("If the packaging setup is"); }
public Package4Fixture(RemoteBehaviorGraph remoteGraph, ApplicationDriver application) { _remoteGraph = remoteGraph; _application = application; Title = "For TestPackage4 - Spark (Assembly 'TestPackage4')"; this["SetUp"] = Embed <PackagingSetupFixture>("If the packaging setup is"); }
public void SetupEnvironment() { // TODO -- make this configurable? _runner = new CommandRunner(); _runner.RunFubu("createvdir src/FubuTestApplication fubu-testing"); _runner.RunFubu("create-pak pak1 pak1.zip -f"); _runner.RunFubu("create-pak pak2 pak2.zip -f"); _runner.RunFubu("create-pak pak3 pak3.zip -f"); _runner.RunFubu("create-pak pak4 pak4.zip -f"); _runner.RunFubu("create-pak spark spark.zip -f"); _application = new ApplicationDriver(); }
public void SetupEnvironment() { // TODO -- make this configurable? _runner = new CommandRunner(); _runner.RunFubu("createvdir src/FubuTestApplication fubu-testing"); _runner.RunFubu("init-pak src/TestPackage1 pak1"); _runner.RunFubu("init-pak src/TestPackage2 pak2"); _runner.RunFubu("init-pak src/TestPackage3 pak3"); _runner.RunFubu("create-pak pak1 pak1.zip -force"); _runner.RunFubu("create-pak pak2 pak2.zip -force"); _runner.RunFubu("create-pak pak3 pak3.zip -force"); _application = new ApplicationDriver(); }
private void buildApplication() { _application = new SerenityJasmineApplication(); var configLoader = new ConfigFileLoader(_input.SerenityFile, _application); configLoader.ReadFile(); var applicationSettings = new ApplicationSettings { RootUrl = "http://localhost:" + _input.PortFlag }; var browserBuilder = _input.GetBrowserBuilder(); _applicationUnderTest = new ApplicationUnderTest(_application, applicationSettings, browserBuilder); _driver = new ApplicationDriver(_applicationUnderTest); }
public ScriptLoadingFixture(ApplicationDriver application) { _application = application; this["SetUp"] = Embed<PackagingSetupFixture>("If the packaging setup is"); }
private void buildApplication() { _application = new SerenityJasmineApplication(); var configLoader = new ConfigFileLoader(_input.SerenityFile, _application); configLoader.ReadFile(); var applicationSettings = new ApplicationSettings{ RootUrl = "http://localhost:" + _input.PortFlag }; var browserBuilder = _input.GetBrowserBuilder(); _applicationUnderTest = new ApplicationUnderTest(_application, applicationSettings, browserBuilder); _driver = new ApplicationDriver(_applicationUnderTest); }
public ScriptLoadingFixture(ApplicationDriver application) { _application = application; this["SetUp"] = Embed <PackagingSetupFixture>("If the packaging setup is"); }