Class: TestLauncher::Frameworks::Base::Runner
- Inherits:
-
Object
- Object
- TestLauncher::Frameworks::Base::Runner
show all
- Defined in:
- lib/test_launcher/frameworks/base.rb
Instance Method Summary
collapse
Instance Method Details
#by_line_number(test_case) ⇒ Object
41
42
43
|
# File 'lib/test_launcher/frameworks/base.rb', line 41
def by_line_number(test_case)
raise NotImplementedError
end
|
#multiple_examples(collection) ⇒ Object
61
62
63
64
65
66
|
# File 'lib/test_launcher/frameworks/base.rb', line 61
def multiple_examples(collection)
collection
.group_by(&:app_root)
.map { |_root, test_cases| multiple_examples_same_root(test_cases) }
.join("; cd -;\n\n")
end
|
#multiple_examples_same_file(test_cases) ⇒ Object
49
50
51
|
# File 'lib/test_launcher/frameworks/base.rb', line 49
def multiple_examples_same_file(test_cases)
raise NotImplementedError
end
|
#multiple_files(collection) ⇒ Object
68
69
70
71
72
73
|
# File 'lib/test_launcher/frameworks/base.rb', line 68
def multiple_files(collection)
collection
.group_by(&:app_root)
.map { |_root, test_cases| one_or_more_files(test_cases) }
.join("; cd -;\n\n")
end
|
#one_or_more_files(test_cases) ⇒ Object
53
54
55
|
# File 'lib/test_launcher/frameworks/base.rb', line 53
def one_or_more_files(test_cases)
raise NotImplementedError
end
|
#single_example(test_case) ⇒ Object
45
46
47
|
# File 'lib/test_launcher/frameworks/base.rb', line 45
def single_example(test_case)
raise NotImplementedError
end
|
#single_file(test_case) ⇒ Object
57
58
59
|
# File 'lib/test_launcher/frameworks/base.rb', line 57
def single_file(test_case)
one_or_more_files([test_case])
end
|