Project

General

Profile

Actions

Backport #1980

closed

Test::Unit.run= behaves contrary to documentation

Added by john_firebaugh (John Firebaugh) over 14 years ago. Updated almost 13 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 open1 closed)

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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0