In Files

  • test/unit/parallel.rb
  • test/unit/testcase.rb

Test::Unit::TestCase

Public Class Methods

method_added(name) click to toggle source
 
               # File test/unit/testcase.rb, line 24
def self.method_added(name)
  return unless name.to_s.start_with?("test_")
  @test_methods ||= {}
  if @test_methods[name]
    warn "test/unit warning: method #{ self }##{ name } is redefined"
  end
  @test_methods[name] = true
end
            
test_order() click to toggle source
 
               # File test/unit/testcase.rb, line 20
def self.test_order
  :sorted
end
            

Public Instance Methods

on_parallel_worker?() click to toggle source
 
               # File test/unit/parallel.rb, line 170
def on_parallel_worker?
  true
end
            
run(runner) click to toggle source
 
               # File test/unit/testcase.rb, line 15
def run runner
  @options = runner.options
  super runner
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus