Title: Test Cases in NAnt

There aren’t any “common” Nunit tests to run.

 

You have to create your Nunit tests manually to verify that each area of your code is working properly.

Nunit is designed for Test-Driven Development or Test-First Development.

 

In XP, determine what task you will be working on.

Write a minimal unit test that fails because the code doesn’t exist or is not functional

Add code to your application to make the unit test pass.

 

Repeat the above cycle, by writing more unit tests and slowly building your application.

 

Here are a couple of links to some good articles:

 

http://weblogs.asp.net/rosherove/articles/28511.aspx

http://www.codeproject.com/csharp/autp1.asp

http://www.ftponline.com/vsm/2002_12/online/smith/default.aspx

http://www.ftponline.com/vsm/2002_07/online/csharp_bwagner_07_22_02/default.aspx

http://members.pingnet.ch/gamma/junit.htm

http://www.extremeprogramming.org/rules/unittests.html

http://www.xprogramming.com/xpmag/acsBowling.htm

 

Noel

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bonnett, Evan A
Sent: Friday, March 19, 2004 12:39 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Test Cases in NAnt

 

All,

I have somewhat completed a build file for a portal app.  It's pretty simple but here are the steps:

Update version
Label VSS
Get code by label
Compile
Package into zip for distribution
Clean target area
Install (unzip)

My question is regarding testing.  What are some common Nunit tests that are run?  I'm not familiar with testing a build.  Could someone offer some help here?

Thanks,

Evan A. Bonnett
Reynolds and Reynolds, IT

Reply via email to