Hello Folks - I have been vested with the enviable task of converting JAVA tests written using JUnit to possibly their .NET counterpart ( since we are also introducing the .NET version of our application next year). I had cursorily investigated NUNIT, CSUNIT & DOTUNIT and had sent an email to Charlie Poole (NUnit developer) enquiring about the capability of dynamically adding tests to test suites much like what JUnit permits and his terse retort was that none of the aforementioned tools provide the capability of dymically adding test cases to test suite but suggested that I might want to dabble with MbUnit.
At the moment I am looking at MbUnit but would like to get a few answers before I spend more time on it. The following is the functionality that I have in JUnit that I am looking to port to the .NET application - We have described the test cases in an XML file - nothing but a bunch of SQL queries against our database - have a class QUERYTESTSUITE that parses this XML file and creates instances of InsertQueryTestCase, DeleteQueryTestCase etc classes based on the type of test case specified in the XML file and add these newly instantiated test case to a TESTSUITE in JUnit and eventually run these tests programatically without ever invoking a GUI. I was wondering if MbUnit offered a similar capability. Any help rendered here will be greatly appreciated. Thank You Ranji > > I must profess that I am a novice to NUnit and am looking for some > answers - specifically if NUnit allows me to add tests (bunch of SQL > queries to retrieve data from a > datasource) dynamically constructed in a loop read from an external > XML file to the TESTFIXTURE class instead of statically constructed > ones with the TEST attribute much like the concept of TESTSUITE in > JUNIT. > > Could you please point me in the right direction here - any articles > or web sites would be immensely helpful and greatly appreciated.
