123456789_123456789_123456789_123456789_123456789_

Module: Test::Unit::Priority::ClassMethods

Relationships & Source Files
Defined in: lib/test/unit/priority.rb

Instance Method Summary

Instance Method Details

#priority(name, *tests)

[ GitHub ]

  
# File 'lib/test/unit/priority.rb', line 163

def priority(name, *tests)
  unless Checker.have_priority?(name)
    raise ArgumentError, "unknown priority: #{name}"
  end
  attribute(:priority, name, {:keep => true}, *tests)
end