Hi Mauro,

We're also using NAnt and CruiseControl to automate the full cycle.

We have a single NAnt build script to :
- compile (debug/release) the .net solutions and associated tests
- run the unit tests and acceptance tests (both in the form of NUnit
testfixtures), invalidating the build on failure
- check the test coverage (ncover), check best practices (fxcop)
- generate the documentation (ndoc)
- increment version numbers
- publish to a common binary repository (à-la-Maven)

> a) Does "drop the test itself into Nant" mean that our QA staff need to
> create test scripts in Nant? Or is there some way to
>   run 3rd party software scripts from within Nant?

Not necessarily. You can have QA (for acceptance testing )or
developers (for unit testing ) write tests in the form of NUnit tests
in C# or other .Net languages (as NUnit is directly supported by
NAnt), or instead run third party software using either the Exec task
or by writing a custom NAnt task (quite easy as well; we've done this
to publish the binaries and documentation to a network drive for
instance).

> b) Could you explain a bit what CruiseControl is used for and/or provide a
> link?

CruiseControl is a continuous integration server. Basically it allows
you to setup automated build, either periodically or when checkins are
detected in your VCM.

On such triggers the source code get updated to the latest version
from the VCM, then CruiseControl allows to launch automatically a NAnt
script. As a simple but less powerful alternative you can build a
VS.Net solution directly with devenv.exe.

It natively supports NUnit and publish the reports of unit tests
through a website. The developers are kept aware of the state of the
build (successful/broken) either by a system tray icon, a web site,
emails or other kind of "publishers".

You can have a look here for more information :
- 
http://confluence.public.thoughtworks.org/display/CCNET/Welcome%2Bto%2BCruiseControl.NET
- and the overview diagram here! :
http://confluence.public.thoughtworks.org/display/CCNET/CruiseControl.NET+Integration+Process


cheers

Thibaut Barrère


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to