Can you please post Chris's solution here?
I need to pass some command line arguments like site, domain and database to my test suite. I need an exmaple for following two cases 1. For a Test suite For ex I have a testcase file like following class TC_TEST1 < Test::Unit::TestCase def setup end def start end def test_01_home end def test_02_home2 end end 2.For a Test Runner Here is an example file I have for test runner require 'test/unit/testsuite' require 'test2' class TS_MyTests def self.suite suite = Test::Unit::TestSuite::new suite << TC_TEST1.suite return suite end end Test::Unit::UI::Console::TestRunner.run(TS_MyTests) Which function do I access the command line arguments and how do I parse them? I need to be able to pass these values to progreess further with atuomating the test cases. Any help on this is greatly appreciated. Thanks in advance --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6527&messageID=19747#19747 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general