From: Nathaniel Talbott Date: 2004-08-11T23:35:23+09:00 Subject: Re: Test::Unit output On Aug 11, 2004, at 03:36, Charles Comstock wrote: > I was curious if there are other test modes on test::unit which are > more descriptive of the progress through each file of testing. I > think this would be particularly useful for running test cases like > those in the ruby interpreter. If the interpreter segfaults in the > middle of running tests, and all you have are a bunch of .'s and E's > how are you supposed to tell what it failed on? Also while the .'s > are alright for a short set, it would seem as if some sort of progress > description over each test file would be more descriptive of the > progress while testing. > > Has this been gone over before? Any particular reason for the choice > of the dotted output? Did you try passing your test --help on the commandline? I think --verbose is what you're looking for: ntalbott@jacob:~/tmp$ cat t.rb require 'test/unit' class T < Test::Unit::TestCase def test1 end def test2 end end ntalbott@jacob:~/tmp$ ruby t.rb Loaded suite t Started .. Finished in 0.005947 seconds. 2 tests, 0 assertions, 0 failures, 0 errors ntalbott@jacob:~/tmp$ ruby t.rb --verbose Loaded suite t Started test1(T): . test2(T): . Finished in 0.009733 seconds. 2 tests, 0 assertions, 0 failures, 0 errors HTH, Nathaniel Terralien, Inc. <:((><