# 3 - Creating tests with NUnit

Level: Beginner
Tags: NUnit Unit Testing
Comments: (3)
Derik Whittaker

In this episode we will cover the basics on how to create various unit test using the NUnit testing framework.  We will also review the different Assert helper classes that are part of the testing framework.
Click here to Watch this Episode

Download (20.20 MB) (12:24) (1440x900)
Download (13.37 MB) (12:24) (960x600)


Images/Screen Shots:

Methods to be tested
Shows the various methods that will be tested in the demo

Testing via Asserts
Shows the code for testing using Asserts

Testing using ExpectedException attribute
Shows the code for testing using the ExpectedException Attributed

Comments: (3)

Tr3v said....
why do you use if(items.Count == 5) { return true; } return false; instead of just using return (items.Count == 5); ?

5/29/2008 4:00:08 AM

lingfeng said....

Louis Vuitton bags have been established more than One hundred fifty a long time, enhancing their own bearers, as well as transporting personalized belongings for the louis vuitton kids. Today, numerous retailers market Louis Vuitton bags around the world. These kind of important components are often ordered on-line.Locate Genuine Prada Totes, lv luggage purchase Coach Handbags, Dooney along with Burke Totes and others!The ladies handbag may be the item more than likely to seize the persona, replica louis vuitton so you possibly have got extremely definite style of purses. In case you need to select purses which in turn not only point out something about your identiity, but echo well in your fashion sense, and enjoy the finances to pay for one particular, you will have tough time failing having a Louis louis vuitton outlet Vuitton purse. However, you should take into account that there are millions of faux Lv hand bags sold both don and doff series, and you could simply always be bamboozled louis vuitton luggage in to buying one.Should you locate handbag Lv store promoted as authentic Louis Vuitton, and also the price seems too great really was, you happen to be almost certainly considering a new knockoff and will just vanish.Second-Hand Quality Surpasses Brand-New Rubbish.When you will end up in research of your respective Lv lather louis vuitton replica hand bags, you have to take a authenticity to you budget. A real current period Lv purse will usually retail with six-hundred money or even more, while obtained fake louis vuitton at a high-end fashion store. If that louis vuitton fake is more than you can handle, Cheap Louis Vuitton Totes it is possible to choose a pre-owned Lv totes at the great channel partner specialist; the pre-owned Lv lather luggage, whether it has become well-cared for, remains the more effective acquire compared to a replica.When louis vuitton handbags you could possibly have run into look-alike bags which look, to your eyesight,Lv handbags to get the same as the main, are going to manufactured from inferior resources and will not have got practically the caliber of louis vuitton bags workmanship in which genuine Lv Wallets are generally well-known.

4/15/2012 7:25:10 PM

Name: *
Email (not displayed): *
Comments: *

So, you Human...?