Project

General

Profile

Backport #1980

Test::Unit.run= behaves contrary to documentation

Added by john_firebaugh (John Firebaugh) almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:25034]

Description

=begin
Documentation says "If set to false Test::Unit will not automatically run at exit." But in fact you must set it to true to get that behavior.

require 'test/unit'

class DebugTest < Test::Unit::TestCase
def test_debug
puts "hello world"
end
end

Test::Unit.run = false
=end


Related issues

Has duplicate Backport187 - Backport #2405: Test::Unit.runの条件判定が逆?Closedshyouhei (Shyouhei Urabe)11/26/2009Actions
#2

Updated by ujihisa (Tatsuhiro Ujihisa) over 10 years ago

  • Status changed from Open to Assigned
  • Assignee set to nobu (Nobuyoshi Nakada)

=begin

=end

#3

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • Category set to lib
  • Assignee changed from nobu (Nobuyoshi Nakada) to shyouhei (Shyouhei Urabe)

=begin

=end

#4

Updated by shyouhei (Shyouhei Urabe) over 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r26096.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF