Have a look here Curt.

 

http://nant.sourceforge.net/wiki/index.php/WritingATask

 

Cheers,

 

Bill

 

 

-----Original Message-----
From: Curtis Zarger [mailto:[EMAIL PROTECTED]
Sent: 17 June 2004 15:37
To: [EMAIL PROTECTED]
Subject: FW: [Nant-users] Using our own test framework

 

Doug,

 

I like your suggestion of the custom task.  I wasn't able to find documentation on the NAnt site.  Can you supply a reference to it?

 

THX

 

Curt Zarger

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 10:27 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Nant-users] Using our own test framework

 

Doug,

 

Rather than writing a separate exe and shelling it from NAnt (presumably you are intending to use the <exec> task?)  why not write it as a custom task, then you can call it directly from NAnt.  I have written a custom task to perform certain code checks when a project is compiled and they are pretty straight forward to write and it makes it much easier to incorporate the output of your tests into the NAnt logging rather than trying to pass data between a separate exe and NAnt.

 

Cheers,

 

Bill

 

 



______________________________________________________________

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person or organisation to
whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use,
copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please
contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, which could damage your
own computer system. While Marlborough Stirling has taken every reasonable precaution to minimise
this risk, we cannot accept liability for any damage, which you sustain as a result of software
viruses. You should carry out your own virus checking procedure before opening any attachment.


Marlborough Stirling plc, Registered in England and Wales
Registered No. 3008820,
Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000 Fax: 01242 547100
http://www.marlborough-stirling.com

Reply via email to