Hello Andy -

Thanks for the prompt reply - I will try and implemement John's
recommendation of using the DATAFIXTURE attribute to parse the XML file
I have.

Meanwhile, I was perusing through MbUnit documentation for the
TESTSUITE attribute and the example shown there add's static test cases
to the TestSuite object. Is there a way to loop through an XML file as
in my case, and then add a TESTCASE object to the suite - I have all
the test cases defined in a XML file and a TestCase class that parses
this XML files and encapsulates all germane data about the test case in
a TESTCASE object - below is a sample from the XML file - I have over
1000 queries in each XML file and about 3 such files.


<TestCase name="Select_Boolean_0" type="SelectTest">
<QueryString>- <![CDATA[ SELECT PK1, PK2, BooleanCol FROM ManyDataTypes
]> </QueryString>
<ExpectedResultFile name="Select_Boolean_0.txt"/>
</TestCase>

Another question for you is - is there a way for me to programatically
run the suite created in MbUnit instead of invoking the GUI much like
what JUnit allowed my predecessor to do in the JAVA version of the
application - the reson being that we would like to run this suite as
part of the nightly builds.

Thank You for your assistance.

Ranji

Reply via email to