Project

General

Profile

This project is closed and read-only.

Actions

Backport #1980

closed

Test::Unit.run= behaves contrary to documentation

Backport #1980: Test::Unit.run= behaves contrary to documentation

Added by john_firebaugh (John Firebaugh) about 17 years ago. Updated over 15 years ago.


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 1 (0 open — 1 closed)

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

Updated by ujihisa (Tatsuhiro Ujihisa) almost 17 years ago Actions #2

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

=begin

=end

Updated by nobu (Nobuyoshi Nakada) almost 17 years ago Actions #3

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

=begin

=end

Updated by shyouhei (Shyouhei Urabe) almost 17 years ago Actions #4

  • 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

Actions

Also available in: PDF Atom