Class: TestLauncher::Frameworks::ExUnit::Searcher

Inherits:
Base::Searcher
  • Object
show all
Defined in:
lib/test_launcher/frameworks/ex_unit.rb

Constant Summary collapse

MultipleByLineMatches =
Class.new(BaseError)

Instance Attribute Summary

Attributes inherited from Base::Searcher

#raw_searcher

Instance Method Summary collapse

Methods inherited from Base::Searcher

#examples, #grep, #test_files

Instance Method Details

#by_line(file_pattern, line_number) ⇒ Object



27
28
29
30
31
32
33
34
# File 'lib/test_launcher/frameworks/ex_unit.rb', line 27

def (file_pattern, line_number)
  test_files(file_pattern).map {|file|
    {
      file: file,
      line_number: line_number
    }
  }
end