From: "Sean E. Russell" Date: 2003-12-06T09:07:17+09:00 Subject: Test::Unit problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm having a curious problem: I keep getting the same error trying to run unit tests from the CVS distribution of Ruby. I just did a clean checkout (not update), configure, and install into a fresh directory. When I try to run a unit test, I get: ===== BEGIN ser@petra rexml/3.0% /opt/ruby/1.8.1/bin/ruby bin/suite.rb /opt/ruby/1.8.1/lib/ruby/1.8/test/unit/autorunner.rb:41: uninitialized constant Test::Unit::AutoRunner::UI (NameError) from /opt/ruby/1.8.1/lib/ruby/1.8/test/unit.rb:261:in `require' from /opt/ruby/1.8.1/lib/ruby/1.8/test/unit.rb:261 from /opt/ruby/1.8.1/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:7:in `require' from /opt/ruby/1.8.1/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:7 from /opt/ruby/1.8.1/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:7:in `require' from /opt/ruby/1.8.1/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:7 from bin/suite.rb:6:in `require' from bin/suite.rb:6 ser@petra rexml/3.0% /opt/ruby/1.8.1/bin/ruby -e 'puts $:' ~/lib/ruby /opt/ruby/1.8.1/lib/ruby/site_ruby/1.8 /opt/ruby/1.8.1/lib/ruby/site_ruby/1.8/i686-linux /opt/ruby/1.8.1/lib/ruby/site_ruby /opt/ruby/1.8.1/lib/ruby/1.8 /opt/ruby/1.8.1/lib/ruby/1.8/i686-linux . ===== END The load path looks good to me; the error is occurring while trying to require test/unit/ui/console/testrunner. Can somebody verify for me that Test::Unit works on a *clean* install (IE, no existing Test::Unit installs are available on the load path)? This would mean that the problem is on my end. Or, has something changed that requires running tests differently? Thanks. - -- ### SER ### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido|Dirigibles ### http://www.germane-software.com/~ser jabber.com:ser ICQ:83578737 ### GPG: http://www.germane-software.com/~ser/Security/ser_public.gpg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/0R2UP0KxygnleI8RAvDYAJ4+8pZ5BgAUJpU/8ZDr2GUQkV93mQCfQl/L nWVpBBBqkmInQPk1yOEndeE= =LDD3 -----END PGP SIGNATURE-----