You can configure NAnt/MsBuild script to run unit test. You can understand how many tests passed or failed when you watch the build log. But the report is not sufficient to understand. You can see more detail report of Unit Test in Teamcity. What you have to do is to import the test result in teamcity. There have special messaging option of teamcity which is called Service Massages ( http://confluence.jetbrains.net/display/TCD6/Build+Script+Interaction+with+TeamCity). Service Message is used to pass commands/build information to Teamcity from the build script. CruiseControl.NET has same feature to integrate xml result to display graphical report.
Syntax of massaging is
In NAnt/Msbuild script when you run unit test using nunit-console.exe there have an option to get output result as *.xml format. NAnt script as
You will need MsBuild.community.tasks for that.
This xml contains detail about which test method is failed, reason for fail and other meta information. Now I like to import that result in Teamcity so that we can use teamcity feature to display result in teamcity.
For that we will use teamcity service messages options.
But this result does not show automatically in teamcity. There have a plugin to process this xml and display results in teamcity which is called Xml Report Processing. This plugin is integrated after version 4.5. http://confluence.jetbrains.net/display/TCD7/XML+Report+Processing
You can include plugin in your build configuration from MsBuild Configuration adding Build Features
You can see the Xml Report processing result in teamcity demo http://teamcity.jetbrains.com/project.html?projectId=project25&tab=projectOverview but this for old teamcity version 4.5. But now in Teamcity 7.x result is updated and integrated much features like time calculation, graphical representation. you can also investigate or mute failed tests.
There also have option to integrate Code coverage report in same way using teamcity service messaging