Class: TestLauncher::Frameworks::RSpec::Runner
Instance Method Summary
collapse
#multiple_files, #single_file
Instance Method Details
#one_or_more_files(test_cases) ⇒ Object
18
19
20
|
# File 'lib/test_launcher/frameworks/rspec.rb', line 18
def one_or_more_files(test_cases)
%{cd #{test_cases.first.app_root} && rspec #{test_cases.map(&:relative_test_path).join(" ")}}
end
|
#single_example(test_case) ⇒ Object
14
15
16
|
# File 'lib/test_launcher/frameworks/rspec.rb', line 14
def single_example(test_case)
%{cd #{test_case.app_root} && rspec #{test_case.relative_test_path} --example #{Shellwords.escape(test_case.example)}}
end
|