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