From: uncleg Date: 2005-11-11T19:27:14+09:00 Subject: Modifing TestRunner Help Hi all, being a ruby newbie I'm hoping someone could give me a heads up on something I'm trying to put together. I would like to be able to be able to run tests in my fixtures individually if so desired. Hence if I had the follow file #testFoo.rb require 'test/unit' class TC_Foo < Test::Unit::TestCase def test_True assert(true) end def test_False assert(!false) end end I could just type `ruby testFoo.rb` and have all the tests run but if I only wanted a specific test to run I could type something like `ruby testFoo.rb test_False`. Does anyone have any ideas/tips on how to go about setting this up? Ideas that come to mind are - Creating a custom TestRunner - Dynamically creating a new test case with all the methods of TC_Foo minus the test_ that arent being tested. Thanks