Wrap your NUnit unit test with VS Generic test
This is an issue I discussed in the last ALM user group. For those of you who did not attend it, here is a summery.
Not all companies started their unit testing using the visual studio test capabilities. There are several reasons for it; for starters, NUnit has been there for several years, at least five years earlier then Visual Studio unit tests. Even more, NUnit is a more complete unit testing environment because it is a mature product. However, if choosing to continue working with it, you end up losing a lot of the TFS capabilities, for example the integration between tests and build.
So, there is a compromise... :)
You can still write your unit testing using NUnit framework and integrate it into Visual Studio tests framework.
Follow these steps:
- If you do not have NUnit framework, download it here: NUnit download and install it.
- Download the attached project.
- Change the location of the CovertTest.dll in the program file that is located under the ConvertTestWrapper.
- In the Generic test change the location of the ConvertTestWrapper.exe
- Build.
That is it...enjoy!