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
Actions

Also available in: PDF Atom