Class
Spec::Runner::SpecParser
In:
lib/spec/runner/spec_parser.rb
Parent:
Object
Parses a spec file and finds the nearest example for a given line number.
Methods
consider_example_for_best_match
consider_example_groups_for_best_match
is_best_match?
new
parse_backtrace
spec_name_for
Attributes
best_match
[R]
Public Class methods
new
()
Public Instance methods
spec_name_for
(file, line_number)
Protected Instance methods
consider_example_for_best_match
(example, example_group, file, line_number)
consider_example_groups_for_best_match
(example_group, file, line_number)
is_best_match?
(file, line_number, example_file, example_line)
parse_backtrace
(backtrace)
[Validate]