← Back to team overview

nunit-core team mailing list archive

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

 

After discussion on the list, it was decided to add a /runlist parameter
taking the name of a file. The file contains, one per line, the test
cases, fixtures, or namespaces to be executed. Lines starting with a #
are ignored.

We also discussed adding a more general option to place any arguments in
a file, but  that will need to be a separate feature and it won't be
done in NUnit 2.6.

** Changed in: nunitv2
   Importance: Undecided => Medium

** Changed in: nunitv2
       Status: New => Triaged

** Changed in: nunitv2
    Milestone: None => 2.6.0b1

** Changed in: nunitv2
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

** Changed in: nunitv2
       Status: Triaged => Fix Committed

-- 
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:
  Fix Committed

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