nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00718
[Bug 531873] Re: Feature: Extraction of unit tests from NUnit test asembly and calling appropriate one
Hi,
I am not experienced with console runner so what I wanted is to see first the list of all test cases from one assembly like it is showed in GUI runner.
With the help from console runner I have following info found but there is no option List All test cases or similar. I find option of listing all test cases important for me because I could take that list (could be thousends of test cases-with combinotoric input parameter combinations) so I can export that list to some other seqeuncer(in company I work for, we use company specific sequencer):
NUNIT-CONSOLE [inputfiles] [options]
Runs a set of NUnit tests from the console.
You may specify one or more assemblies or a single
project file of type .nunit.
Options:
/fixture=STR Test fixture or namespace to be loaded (Deprecated) (Short format: /load=STR)
/run=STR Name of the test case, fixture or namespace to run
/config=STR Project configuration (e.g.: Debug) to load
/xml=STR Name of XML output file (Default: TestResult.xml)
/xmlConsole Display XML to the console (Deprecated)
/output=STR File to receive test output (Short format: /out=STR)
/err=STR File to receive test error output
/labels Label each test in stdOut
/include=STR List of categories to include
/exclude=STR List of categories to exclude
/process=X Process model for tests: Single, Separate, Multiple
/domain=X AppDomain Usage for tests: None, Single, Multiple
/framework=STR Framework version to be used for tests
/noshadow Disable shadow copy when running in separate domain
/nothread Disable use of a separate thread for tests
/timeout=X Set timeout for each test case in milliseconds
/wait Wait for input before closing console window
/nologo Do not display the logo
/nodots Do not display progress
/help Display help (Short format: /?)
br,
Milan.
--
Feature: Extraction of unit tests from NUnit test asembly and calling appropriate one
https://bugs.launchpad.net/bugs/531873
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
Status in NUnit V2 Test Framework: Incomplete
Bug description:
Hi all,
in order to integrate NUnit better in the existing solution it would be good that
by using NUnit(GUI or command line version) over a given Test.exe (where all
necessery test tags/unit tests are allready compiled) to retreive list
of all Unit test names together with its argumens.
In particular case one have Test.exe which is written in order to test some
library Library.dll and now by using command line one call
NUNit over the Test.exe and to get back list of all Unit tests which are
ready to be tested. Also one could as command line argument submit which
test class or which cathegory is imjortant so that list of the returned tests is filtered.
Once the list of all Unit test cases is present (it can be displayed in some other
industry integrated tool) tester can decide what test case will be executed by calling
again using command line specific Unit test. It would be also very good that every test
has its testresult file, having everything in one file makes problem in accessing only
important test and it is not in accordance with other HW/SW test tool where every test
has its testresult file.
Br,
Milan.
Follow ups
References