With the Gallio test runner you can specify a list of individual tests as a filter by test id.
eg. Gallio.Echo.exe MyTests.dll /f:Id:abcdefg,dsjlksdaj,dafsdkjfjkl,sdfadjklj,... Or you can select tests by name, eg. (ditto) /f:Name:Test1,Test2,Test3,... Or a combination of these and other filters if you like. The only problem is that you may encounter the 32kb command-line length limit if the number of tests selected this way is large. We are planning to build a comprehensive XML project file format that will not be subject to these limits. You would then use the GUI tool (or a text editor) to create a project file that can be passed to any of the tools in the Gallio toolchain. Jeff. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tim D Sent: Wednesday, July 16, 2008 2:19 PM To: MbUnit.User Subject: MbUnit Running individual test cases My company is evaluating using mbUnit as a test runner/harness on a customer project. One of the requests from the customer is the ability to run a list of individual tests. Is this possible in v2.x or in v3 console runner? I understand there is the filter option on things such as category and namespace. But the customer wants more control and assigning a different category or building only one test per class seems tedious. Ideally, the customer would like to specify an XML file with list of test cases to run. Duplicates in the list would run the test again. I see there is the TestSuite class that allows you to build up a lists of tests. Has someone written a plug-in to parse XML into a TestSuite instance? Because of the nature of the product, using a GUI test runner is not viable. This also means we would not be able to use TestDriven.net. (We probably won't even have Visual Studio on the test bench). Besides, the GUI runner does not save off the list of selected tests. Any suggestions on solving this or good arguments to push back on the customer? Thanks, tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
