Sha256: f4a5349a4237e1dedfd629489ea33e360a69e44225dea0efa627174ba7950aa6
Contents?: true
Size: 527 Bytes
Versions: 170
Compression:
Stored size: 527 Bytes
Contents
require 'test/unit/collector' module Test module Unit module Collector class Descendant include Collector NAME = 'collected from the subclasses of TestCase' def collect(name=NAME) suite = TestSuite.new(name) sub_suites = [] TestCase::DESCENDANTS.each do |descendant_test_case| add_suite(sub_suites, descendant_test_case.suite) end sort(sub_suites).each {|s| suite << s} suite end end end end end
Version data entries
170 entries across 154 versions & 14 rubygems