← Back to team overview

nunit-dev team mailing list archive

A few changes to the nunit-3.-0 build script

 

Hi All,

I have the test, test-all and package-zip targets working in the NAnt
build script for NUnit 3.0. The package-msi target needs more work. 
I also have a new test-coverage target in place that uses PartCover.

Getting this to work required some decision about how we handle 
external tools. Here's what I did:

The external tools we use to build NUnit are NAnt, WiX and PartCover.
Temporarily, we also use NUnit 2.5 to run the tests, since we don't
have a built-in runner in NUnit 3.0 yet.

I decided not to include the external tool binaries in source control
as we did for NUnit 2.5. NUnit will have five or six separate projects
and I don't really want to add the tools to all of them.

Instead, the developer needs to install each of them and tell the
script where they are. This can be done in a local Nant script or
by setting an environment variable. It's explained in the 
nunit.common.include script at the point where the user settings
file is included.

If you haven't done this and try to run tests or coverage or to
package an msi, you'll get an error message telling you to do it.

Charlie