diff options
| author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-04 22:00:31 +0000 |
|---|---|---|
| committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-04 22:00:31 +0000 |
| commit | 143f8a86a46b7ec38ad5382b8fe00e80785c1212 (patch) | |
| tree | 3ebfb81d7fdc03904604b2c7148180d7c6b02cec /lib/test/unit.rb | |
| parent | af5d40cde2072fbe74e2d5017cc9fa147c0b7d24 (diff) | |
| download | ruby-143f8a86a46b7ec38ad5382b8fe00e80785c1212.tar.gz ruby-143f8a86a46b7ec38ad5382b8fe00e80785c1212.tar.xz ruby-143f8a86a46b7ec38ad5382b8fe00e80785c1212.zip | |
Merge RDoc changes from HEAD.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit.rb')
| -rw-r--r-- | lib/test/unit.rb | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb index 3a1676a33..b71f64456 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -1,17 +1,7 @@ -# -# = test/unit.rb -# -# Ruby's standard unit testing library/software. -# -# Copyright (c) 2000-2003, Nathaniel Talbott. -# -# See Test::Unit for documentation. -# - require 'test/unit/testcase' require 'test/unit/autorunner' -module Test +module Test # :nodoc: # # = Test::Unit - Ruby Unit Testing Framework # @@ -269,11 +259,14 @@ module Test # practitioners about typos, grammatical errors, unclear statements, # missing points, etc., in this document (or any other). # + module Unit + # If set to false Test::Unit will not automatically run at exit. def self.run=(flag) @run = flag end + # Automatically run tests at exit? def self.run? @run ||= false end |
