class CQL::TestCountFilter
Not a part of the public API. Subject to change at any time.
Public Instance Methods
type_count(feature)
click to toggle source
Counts the numbers of tests of a certain type
# File lib/cql/feature_filters.rb, line 10 def type_count(feature) feature.tests.find_all { |test| types.include?(test.class) }.size end