In Files

  • test-unit-3.3.7/lib/test/unit/priority.rb

Methods

Class/Module Index [+]

Quicksearch

Test::Unit::Priority::ClassMethods

Public Instance Methods

priority(name, *tests) click to toggle source
 
               # File test-unit-3.3.7/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