aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test/unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit.rb')
-rw-r--r--lib/test/unit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 7c1e2c064b..b71f644566 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -261,10 +261,12 @@ module Test # :nodoc:
#
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