Project

General

Profile

Actions

Bug #821

closed

uninitialized constant Test::Unit::AutoRunner

Added by ngoto (Naohisa Goto) about 16 years ago. Updated over 13 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 1.9.2dev (2009-10-19 trunk 25399) [x86_64-freebsd7.2]
Backport:
[ruby-dev:37275]

Description

=begin
require 'test/unit'
Test::Unit::AutoRunner.run(true, './somedir')

(注: ./somedir 以下にはテストが書かれたスクリプトが多数ある状態)
を実行すると、テストを1件も実行せず、以下のエラーが出ます。

Loaded suite test/runner
Started

Finished in 0.000528 seconds.

0 tests, 0 assertions, 0 failures, 0 errors, 0 skips
runner.rb:2:in `': uninitialized constant Test::Unit::AutoRunner (NameError)

% ruby -v
ruby 1.9.1 (2008-12-01 revision 20438) [i686-linux]

Ruby 1.8.7では正常にテストが実行されます。
% ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

[ruby-core:18891]と関係があるかもしれません。
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0