From: nathaniel@... Date: 2003-01-05T00:46:04+09:00 Subject: Re: testunit 0.1.6 problems Daniel Berger [mailto:djberg96@yahoo.com] wrote: > I seem to get automatic failure when I try to run > testunit now. Here's a very basic test case I used: > > #tctest.rb > require "test/unit" > class TC_Foo < Test::Unit::TestCase > def setup > end > > def teardown > end > end > Any ideas? If you tell Test::Unit to run something, and there are no tests to run in what you told it to run, it will give you an error. If you add a test to TC_Foo, it should start passing. I'm curious to know what others think of this change/feature. Does it make sense? Are there reasons to want a TestCase that has no test methods? I added the error at someone's request, but I'm willing to take it out again if there are compelling reasons to do so. BTW, this is why one shouldn't wait 9+ months between releases... it greatly reduces feedback (unless folks are using CVS), which is a very bad thing :-(. Nathaniel <:((>< + - - | RoleModel Software, Inc. | EQUIP VI