From: Dennis Decker Jensen Date: 2001-06-18T07:53:15+09:00 Subject: [ruby-talk:16581] ANN: Ruby TestCollector (RUnit & Lapidary) Hi! I uploaded a TestCollector to the code snippets library at sourceforge. The current version works with RUnit but should need minimum customization to work with Lapidary. I've used it myself for some time now and noticed that nobody had made something similar, so .... here it is: https://sourceforge.net/snippet/detail.php?type=snippet&id=100700 I've found it quite useful and thought others might find it useful also. Happy unit testing ! Best Regards, Dennis Decker Jensen >>>>>>>>>>>>>>> Release Version: 1.0 Date: 2001-06-16 by DENNIS DECKER JENSEN (dennisdecker@mail.tele.dk) -- Copying: TestCollector is copyrighted free software by Dennis Decker Jensen. You can redistribute it under the terms specified in the README file of the Ruby distribution. WARRANTY THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. -- Usage: require 'runit/cui/testrunner' RUNIT::CUI::TestRunner.run(TestCollector.new('d:/ruby').suite) -- Customzation: Override the two methods default_testcase_pattern(), default_testsuite() and default_file_pattern() to customize it for Lapidary unit testing framework or to customize it for your specific needs. -- Limitations: TestCase-classes cannot inside (nested) modules cannot be instantiated automatically. They have to be in global space, i.e. module MyTestModule class MyTestCase < RUNIT::TestCase .... wont work even though it finds the testcase in the source. >>>>>>>>>>>>>>>