Skip to main content

Posts

Showing posts with the label Testrunconfig

NUnit in Team Foundation Build

Not everyone have embraced Microsofts testing platform, but prefer to use other tools for unit testing, for instance  NUnit . Because this is such a common scenario there is lots of information and components to help with integrating NUnit in Team Foundation Build. The easiest solution is to use two add-on components.  MSBuild Community Tasks  to make configuration easier and  NUnit for Team Build  to integrate the testresults in the build log and get the results in reports. Both of these components are open source and free to download. Begin with installing  NUnit , MSBuild Community Tasks  and  NUnit for Team Build . After that only some changes in TFSBuild.proj  are needet to get a really nice integration of NUnit in Team Foundation Server. Import MSBuild Community Tasks by adding the following row: <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.targets" /> Now we have the possibilit...