← Back to team overview

nunit-core team mailing list archive

[Bug 828739] Re: Run NUnit tests listed in a file

 

Let's discuss how this should work at the command line on the nunit-
discuss list.

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/828739

Title:
  Run NUnit tests listed in a file

Status in NUnit V2 Test Framework:
  New

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://stackoverflow.com/questions/7105475/is-it-possible-for-run-nunit-against-a-specific-long-list-of-tests)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/828739/+subscriptions


References