I would like to run only a few of my tests, to hunt down a bug..
I have written this in my main.cs :
new TextUI().Execute(new[] { "-test:TableFindAllFloatBadType", "-test:TableTests1.TableFindAllFloatBadType", "-labels", "-full", "-wait"/* "-out:C:\\Files\\UnitTestDumpCS.txt"*/});
What I am trying to do is to ask NUnitLite to execute only the test void called TableFindAllFloatBadType()
What happens is this :
***** Test.EXE
Tests run: 0, Passed: 0, Errors: 0, Failures: 0, Inconclusive: 0
Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
Elapsed time: 00:00:00.0070000
Press Enter key to continue . . .
This is the beginning of the unit test i'd like to run
[ExpectedException("System.ArgumentException")]
[Test]
public static void TableFindAllFloatBadType()
{
If I remove the two strings in the top call, so that the first parameter is -labels , then all my unit tests are run, including the TableFindAllFloatBadType
Am i using the -test: parameter correctly?
Regards,
Dennis