NUnit - tests not running where categories contain hyphens
We're currently on TeamCity 10.0.5 and any attempt to run NUnit tests with categories that contain hyphens is finding no tests to run. If I attempt to run the same tests locally through command line it works. The command that works locally:
nunit3-console.exe ...tests.dll --where cat==TCM-1234
On TC, I am installing the nunit3 console package (3.9.0) as part of solution build and I have tried both NUnit 3.0 and command line runners without success. The build log shows the following:
[18:53:05][Step 2/2] Test Filters
[18:53:05][Step 2/2] Where: cat==TCM-1234
.
.
.
[18:53:08][Step 2/2] Test Run Summary
[18:53:08][Step 2/2] Overall result: Passed
[18:53:08][Step 2/2] Test Count: 0, Passed: 0, Failed: 0, Warnings: 0, Inconclusive: 0, Skipped: 0
[18:53:08][Step 2/2] Start time: 2019-06-11 08:53:06Z
[18:53:08][Step 2/2] End time: 2019-06-11 08:53:08Z
[18:53:08][Step 2/2] Duration: 2.613 seconds
Any help is appreciated.
Please sign in to leave a comment.
Hi Daniel,
I'm afraid this is the first time I ever see this problem, and can't find any other reference in our database. May I ask you first of all to install a newer version (2019.1, even on a test setup) just to try whether it would work there? 10.0.5 has been out of support for a while now, so we would need info on its behavior in newer releases before we tackle it as a possible issue.