Run NUnit tests listed in a file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit V2 |
Fix Released
|
Medium
|
Charlie Poole |
Bug Description
I have a list of several thousand NUnit tests that I want to run (generated automatically by another tool). (This is a subset of all of the tests, and changes frequently)
I'd like to be able to run these via NUnit-Console.exe. Unfortunately the /run option only takes a direct list of files which in my case would not fit on a single command line. I'd like it to pickup the list from a specified text or xml file with a list of tests.
I appreciate that I could use categories, but the list I want to run changes frequently and so I'd prefer not to have to start changing source code.
Does anyone know if there is a clean way to get NUnit to run my specified tests? (I could break it down into a series of smaller calls to NUnit-console with a full command line, but that's not very elegant)
If it's not possible, should add this as a NUnit feature request?
(http://
Related branches
Changed in nunitv2: | |
status: | Fix Committed → Fix Released |
Let's discuss how this should work at the command line on the nunit-discuss list.