Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I view .NET trace logs in TeamCity?

I have a few C# integration tests that are run every night by Team City and the NUnit test runner. It would be very helpful if when a test fails the Trace logs could be made visible within the Team City build log.

Is this possible?

like image 757
Dan Rowlands Avatar asked Dec 13 '13 09:12

Dan Rowlands


Video Answer


1 Answers

All console output is shown in the build log. Not quite sure if Trace-logs are displayed there (it might even be configurable somewhere?)

Click on a build, go to the tests tab. To the right of all tests there is a small arrow, click it and hit "Show in build log", and you'll be taken directly to the output of that test. Usually there's not a lot of interesting stuff for a successful test. Failed tests have their own view with all the output you normally get in your test runner.

like image 82
Arve Systad Avatar answered Sep 27 '22 23:09

Arve Systad