public Configure ( string file, ISerenityJasmineApplication application ) : Serenity.Jasmine.JasmineConfiguration | ||
file | string | |
application | ISerenityJasmineApplication | |
return | Serenity.Jasmine.JasmineConfiguration |
private void buildApplication() { _application = new SerenityJasmineApplication(); var fileSystem = new FileSystem(); var loader = new JasmineConfigLoader(fileSystem); var configurator = new JasmineConfigurator(fileSystem, loader); _configuration = configurator.Configure(_input.SerenityFile, _application); var applicationSettings = new ApplicationSettings { RootUrl = "http://localhost:" + _input.PortFlag }; IBrowserLifecycle browserBuilder = _input.GetBrowser(); _applicationUnderTest = new ApplicationUnderTest(_application, applicationSettings, browserBuilder); _driver = new NavigationDriver(_applicationUnderTest); }
private void buildApplication() { _application = new SerenityJasmineApplication(); var fileSystem = new FileSystem(); var loader = new JasmineConfigLoader(fileSystem); var configurator = new JasmineConfigurator(fileSystem, loader); _configuration = configurator.Configure(_input.SerenityFile, _application); var applicationSettings = new ApplicationSettings { RootUrl = "http://localhost:" + _input.PortFlag }; IBrowserLifecycle browserBuilder = _input.GetBrowser(); _applicationUnderTest = new ApplicationUnderTest(_application, applicationSettings, browserBuilder); _driver = new NavigationDriver(_applicationUnderTest); }