Hi,
I have a test suite with me. I want to add another test class with a set of tests in the test suite. Since this is a class with test cases, I do not know how to add it to the test suite.
testsuite
- existing test suite.
FactorTest.rb - test class with test methods (class name is FactorTest
)
I tried
testsuite<<FactorTest
and then
Test::Unit::UI::Console::TestRunner.run(testuite)
but it fails:
/ruby/1.8/test/unit/testsuite.rb:54:in `size': undefined method `size' for
FactorTest:Class (NoMethodError)
Please could someone help?