Preferred test framework for .NET apps?

15 views
Skip to first unread message

Anthony Stevens

unread,
Apr 3, 2012, 1:23:27 PM4/3/12
to dotnetstartup
Hi - I'm soliciting opinions on which unit test framework you prefer for .NET apps.  I've always been an NUnit guy, but am curious about other's experiences, particularly with MSTest.  We're using TeamCity as our build server, and running VS 2010 w/ReSharper 6 locally.

Am also curious about front-end test automation: what are you using to test your ASP.NET MVC3 websites (if anything)?

Thanks for any input!

a

Rajeev Goel

unread,
Apr 3, 2012, 1:53:20 PM4/3/12
to dotnet...@googlegroups.com

If you have Resharper installed, then MSTest doesn’t really provide any advantages over NUnit, so I would probably just stick with NUnit because it’s more mature and better supported.  NUnit also has the standalone GUI test runner, which can be convenient at times.  If you don’t have Resharper, then MSTest might be better because you wouldn’t get Visual Studio IDE integration for NUnit.  The IDE integration is key for rapid test runs and development.  I’m pretty sure TeamCity supports both NUnit and MSTest, so no advantages either way there.

 

At my previous company, we used Selenium for front-end website test automation, driven by NUnit tests, and it worked well for us.

 

--Rajeev

Jeff MacDuff

unread,
Apr 3, 2012, 2:49:48 PM4/3/12
to dotnet...@googlegroups.com

We use teamcity for our build + integration + testing and it works great. For every component built in VS we also build a unititest project. For example the “Cache Manager” solution file contains both the unit test project and the cache manager library.  This also allows the developers to open a SLN , make a code change to a component, hit F5 on the test project and verify before checking in.

 

We have team city sync, build all the SLN and run all the tests.. works really well for us.

 

Jeff MacDuff

Chief Technology Officer

Email:   je...@buddy.com

 

Description: EmailSig

Reply all
Reply to author
Forward
0 new messages