I successfully ran all the tests with:
nunit-console bin\Debug\SeleniumAutomated.dll
However, when I run:
nunit-console /runlist:textFile.txt bin\Debug\SeleniumAutomated.dll
This results in 0 tests being ran. So, I am wondering if the text file itself needs any particular structure. I have tried:
TestA,
TestB,
TestC
Also:
TestA
TestB
TestC
Also:
FullNameTestA
FullNameTestB
FullNameTestC
No luck thus far. Additionally, I would like to run this from a batch file, if that might make a difference. To qoute from http://www.nunit.org/index.php?p=consoleCommandLine&r=2.6.4 "The file 'testlist.txt' should contain the full name of each test, listed one per line."
My source for the filenames is in C#:
TestContext c = TestContext.CurrentContext;
// c.Test.Name for the individual test name
// c.Test.FullName for the fullName
Additionally, nothing looks out of place in the text file. Testnames/fullnames are as I would expect them to be (might be wrong here).