Geeks With Blogs

News FAQ on the correct forum to post at: http://forums.asp.net/p/1337412/2699239.aspx#2699239
Tatworth
Recently I realised that while I had provided a number of examples of NUnit, I had not provided an example of MSUnit on CodePlex. The obvious candidate to convert was http://commonfilter.codeplex.com/. The resulting project is http://commonfiltermstest.codeplex.com/.

So how did I convert from NUnit to MS Test? Here are some of the useful links, I found:

Converting the project took about an hour. Much of the conversion can be done by a bulk replace. The only involved part was converting the Assert methods that NUnit does not support. In retrospect, I would recommend anyone contemplating such a conversion from NUnit to change such asserts to use the Assert.IsTrue before converting to MSTest.

For the benefit of those who have not yet upgraded to Visual Studio 2012, I have published this as a VS2010 solution.

 

Posted on Tuesday, February 26, 2013 11:50 AM | Back to top


Comments on this post: Converting NUnit to MS Test and the birth of a new project on CodePlex.

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © TATWORTH | Powered by: GeeksWithBlogs.net