I have a test case, based on the Test::Unit::TestCase. How does one pass
data to the test in such a way that the test can be run multiple times
with different input.
class TC_CreateOrder < Test::Unit::TestCase
assert “order successful”
Now, I want to be able to generate a new order for various order types,
(TYPE1, TYPE2, TYPE3, etc.)
suite = Test::Unit::TestSuite.new
suite << TC_CreateOrder.suite # TYPE1 goes here
suite << TC_CreateOrder.suite # TYPE2 goes here
suite << TC_CreateOrder.suite # TYPE3 goes here
Thanks in advance.