Class: TestLauncher::Frameworks::Generic::Runner
Instance Method Summary
collapse
#multiple_examples, #multiple_files, #single_file
Instance Method Details
#by_line_number(test_case) ⇒ Object
52
53
54
|
# File 'lib/test_launcher/frameworks/generic.rb', line 52
def by_line_number(test_case)
raise NotSupportedError.new("You should not have hit this error. File an issue. :(")
end
|
#multiple_examples_same_file(test_cases) ⇒ Object
60
61
62
|
# File 'lib/test_launcher/frameworks/generic.rb', line 60
def multiple_examples_same_file(test_cases)
raise NotSupportedError.new("You should not have hit this error. File an issue. :(")
end
|
#multiple_examples_same_root(test_cases) ⇒ Object
64
65
66
|
# File 'lib/test_launcher/frameworks/generic.rb', line 64
def multiple_examples_same_root(test_cases)
raise NotSupportedError.new("You should not have hit this error. File an issue. :(")
end
|
#one_or_more_files(test_cases) ⇒ Object
68
69
70
|
# File 'lib/test_launcher/frameworks/generic.rb', line 68
def one_or_more_files(test_cases)
%{#{test_cases.first.file_runner} #{test_cases.map(&:file).uniq.join(" ")}}
end
|
#single_example(test_case, name: test_case.example, exact_match: false) ⇒ Object
56
57
58
|
# File 'lib/test_launcher/frameworks/generic.rb', line 56
def single_example(test_case, name: test_case.example, exact_match: false)
raise NotSupportedError.new("You should not have hit this error. File an issue. :(")
end
|