View Single Post
  #2 (permalink)  
Old January 30th, 2010, 09:38 AM
Danijel Danijel is offline
Wrox Author
Points: 63, Level: 1
Points: 63, Level: 1 Points: 63, Level: 1 Points: 63, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2008
Location: , , .
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Default Use NUnit GUI to run your tests

You should use NUnit GUI to execute your tests. See figure 3-10. You will have to download and install NUnit framework available at http://www.nunit.org. After that, you can navigate to NUnit in Start->Programs to run NUnit GUI. Follow the steps described on page 72 in Installing NUnit section.

Visual Studio 2008 does not support running NUnit tests, but VS 2010 should. (NUnit is a third party open source framework after all). I haven’t used ReSharper lately, but to my understanding, it is also capable of running NUnit tests. Also, note that BodyFatContent test will fail on purpose. I left it unimplemented so you could do it as an exercise. You need to implement BodyFatContent in FemalePatient class in order to have this test execute with success. Hope this helps…
__________________
http://blog.refactoringin.net
"Empowering your team for agile transition"
Reply With Quote