From: Robert Feldt Date: 2000-08-26T01:08:44+09:00 Subject: [ruby-talk:4583] Re: RubyUnit testcase run for different init params? On Fri, 25 Aug 2000, Robert Feldt wrote: > I have a Test_MyClass < RUNIT::TestCase class that tests my class MyClass. > I want to run the tests for different parameters to MyClass. How do this > nicely? > Clarification: With parameters I mean parameters to initialize. In particular, The low-level class implementing the functionality of MyClass can be chosen with a string to init: class MyClass def initialize(lowLevelAlg) # stuff here... end ... end and I want to test that the functionality of MyClass is supported by all the low-level algorithms that can be chosen. Regards, Robert