Don't display result of tests run
Answered
Hi all,
is there any way how can I prevent processing of tests results to be displayed in a build result at TC9?
My scenario is: I've moved my tests to custom PowerShell step. This script calls nunit-console runner which produce XML outputs. The build is configured to pack these results and store in artifacts.
Unfortunately TC displayed tests results in a list of builds.
I don't know, how to configure TC to not process these results.
Does anybody an idea how to achieve it?
Thank you.
Please sign in to leave a comment.
Hello Radoslav,
In the latest nunit-console runner versions you can: remove TeamCityEventListener package to stop reporting tests or install nunit-console runner version with no extensions.
Why do you want to stop reporting tests in TeamCity?
Hi Alina,
thank you for reply. How or where can I remove TeamCityEventListener package? I'm using nunit3-console.exe v 3.2 and there is no other package in the folder with application.
Why I need it is described here: https://teamcity-support.jetbrains.com/hc/en-us/community/posts/207929509-Tests-duration-failure-condition
Thank you for your time.
Hi Radoslav,
Did you install nunit3-console.exe as described here: https://www.nuget.org/packages/NUnit.Console/3.5.0 ? If yes, please remove packages/NUnit.Extension.TeamCityEventListener.1.0.2 directory.