I have a lot of experience with NUnit, so it is very familiar to me. I did some work with MbUnit a while back and I liked some of the features of it. But, I know there are a bunch more out there now and I am looking for some feedback on what unit testing frameworks you like and, most importantly, why?
While writing this, I was listening to "Computer Blue" by Prince
December 8, 2008 at 1:56 pm
check out xUnit; also MoQ and WatiN
——–
http://www.codeplex.com/xunit
http://www.codeplex.com/xunit/Wiki/View.aspx?title=WhyDidWeBuildXunit&referringTitle=Home
——–
http://code.google.com/p/moq/
–
MoQ now uses xUnit for its unit tests
http://weblogs.asp.net/cazzu/archive/2008/04/22/moq-now-uses-xunit-for-its-unit-tests.aspx
–
http://www.truewill.net/myblog/index.php/2008/10/06/switching_to_moq
“It’s liberating to have no record/replay model. I also find Moq relatively intuitive”
——–
“Testing your ASP.NET MVC Controllers with Moq and xUnit.net”
http://www.shanebauer.com/blog/post/2008/04/Testing-your-ASPNET-MVC-Controllers-with-Moq-and-xUnitnet.aspx
——–
http://watin.sourceforge.net/
–
WaitN and xUnit.NET Integration testing
http://www.codinginstinct.com/2008/05/waitn-and-xunitnet-integration-testing.html
regards … gerry (lowry)
December 8, 2008 at 5:31 pm
I got an email from Gerry Lowry to:
“check out xUnit; also MoQ and WatiN”
He also pointed me to several links:
——–
http://www.codeplex.com/xunit
http://www.codeplex.com/xunit/Wiki/View.aspx?title=WhyDidWeBuildXunit&referringTitle=Home
——–
http://code.google.com/p/moq/
–
MoQ now uses xUnit for its unit tests
http://weblogs.asp.net/cazzu/archive/2008/04/22/moq-now-uses-xunit-for-its-unit-tests.aspx
–
http://www.truewill.net/myblog/index.php/2008/10/06/switching_to_moq
“It’s liberating to have no record/replay model. I also find MoQ relatively intuitive”
——–
“Testing your ASP.NET MVC Controllers with MoQ and xUnit.net”
http://www.shanebauer.com/blog/post/2008/04/Testing-your-ASPNET-MVC-Controllers-with-Moq-and-xUnitnet.aspx
——–
http://watin.sourceforge.net/
–
WaitN and xUnit.NET Integration testing
http://www.codinginstinct.com/2008/05/waitn-and-xunitnet-integration-testing.html
These look very promising!!
December 8, 2008 at 6:23 pm
Glad you found these to be useful.
December 9, 2008 at 7:14 pm
try out selenium… i like it better than watin and works perfectly with nunit plus it outputs flawless c# classes to plug directly in to a VS solution . You can also do data driven tests that loop over the recorded test methods and pull data in to variables from database, spreadsheet, txt file or whatever. So essentially all you need to do is create the main driver method and pass some arguments to a selenium test object then sit back and watch test data fly by!
http://selenium.seleniumhq.org/
January 2, 2009 at 3:16 pm
I personally prefer NUnit.
I like being able to test an assembly for a lightweight .exe rather than VS.
That way, you can move the .dll to the production server, and run tests again (without installing VS or and actual testing framework).