Skip to main content
GameDev.net gamedev.net
🔒 Locked

unit testing with c#

Started by dusty_one Aug 1, 2007 at 4:30 AM 2 replies 1.1k views
Original Post
dusty_one
dusty_one
Anyone have a link to an up to date unit testing framework for c#? I've seen a few from searching ,but a few haven't been touched for a while. I'd prefer one that is close to junit's usage since I'm used to it from the unittest module in python.
SiCrane
SiCrane
Did you look at NUnit?
Cygon
Cygon
Note another vote for NUnit :)

NUnit is the way to go. It's the most widespread framework at this time, it's stable and you'll find many utilities supporting it (eg. CruiseControl.NET has built-in support for NUnit tests, TestDriven.NET lets you execute tests in your IDE, NCover cooperates well with NUnit to tell you how much of your code is actually reached by your unit tests, NCoverExplorer makes it a breeze to browse your test coverage weakpoints and NMock allows you to unit-test those classes that are hard to isolate.)

-Markus-
Professional C++ and .NET developer trying to break into indie game development.
Follow my progress: http://blog.nuclex-games.com/ or Twitter - Topics: Ogre3D, Blender, game architecture tips & code snippets.
Spoonbender
Spoonbender
If you have the uber-expensive edition of VS (Team Edition, I think is the only one), it comes with a pretty good unit test framework as well.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.