Module: Test::Unit::Priority::ClassMethods
- Defined in:
- lib/test/unit/priority.rb
Instance Method Summary collapse
Instance Method Details
#priority(name, *tests) ⇒ Object
142 143 144 145 146 147 |
# File 'lib/test/unit/priority.rb', line 142 def priority(name, *tests) unless Checker.have_priority?(name) raise ArgumentError, "unknown priority: #{name}" end attribute(:priority, name, {:keep => true}, *tests) end |