45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# File 'lib/flutter/minitest.rb', line 45
def runnable_methods
return super unless ::Flutter.enabled
Flutter::Minitest.filtered ||= 0
Flutter::Minitest.total ||= 0
default = super()
Flutter::Minitest.total += default.length
default.select do |test|
!Minitest.flutter_tracker.skip?(
"#{name}##{test}",
File.absolute_path(instance_method(test).source_location[0]),
instance_method(test).source,
).tap { |skip| Flutter::Minitest.filtered += 1 if skip }
end
end
|