Class: TestLauncher::Frameworks::ExUnit::Searcher
- Inherits:
-
Base::Searcher
- Object
- Base::Searcher
- TestLauncher::Frameworks::ExUnit::Searcher
- Defined in:
- lib/test_launcher/frameworks/ex_unit.rb
Constant Summary collapse
- MultipleByLineMatches =
Class.new(BaseError)
Instance Attribute Summary
Attributes inherited from Base::Searcher
Instance Method Summary collapse
Methods inherited from Base::Searcher
#examples, #grep, #initialize, #test_files
Constructor Details
This class inherits a constructor from TestLauncher::Frameworks::Base::Searcher
Instance Method Details
#by_line(file_pattern, line_number) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/test_launcher/frameworks/ex_unit.rb', line 26 def by_line(file_pattern, line_number) test_files(file_pattern).map {|file| { file: file, line_number: line_number } } end |