Class: Spork::Server::Cucumber
Constant Summary
collapse
- CUCUMBER_PORT =
8990
- CUCUMBER_HELPER_FILE =
File.join(Dir.pwd, "features/support/env.rb")
BOOTSTRAP_FILE, LOAD_PREFERENCE
Class Method Summary
collapse
Instance Method Summary
collapse
available?, available_servers, bootstrap, bootstrapped?, #helper_file, inherited, #listen, load_preference_index, #port, #run, run, #running?, server_name, supported_servers, using_rails?
Class Method Details
.port ⇒ Object
5
6
7
|
# File 'lib/spork/server/cucumber.rb', line 5
def self.port
CUCUMBER_PORT
end
|
.step_mother=(value) ⇒ Object
13
14
15
|
# File 'lib/spork/server/cucumber.rb', line 13
def self.step_mother=(value)
@step_mother = value
end
|
Instance Method Details
#run_tests(argv, stderr, stdout) ⇒ Object
17
18
19
20
21
|
# File 'lib/spork/server/cucumber.rb', line 17
def run_tests(argv, stderr, stdout)
require 'cucumber/cli/main'
::Cucumber::Cli::Main.step_mother = @step_mother
::Cucumber::Cli::Main.new(argv, stderr, stdout).execute!(@step_mother)
end
|