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

 

 

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 17 June 2004 15:17
To: Doug Wallace
Cc: [EMAIL PROTECTED]
Subject: Re: [Nant-users] Using our own test framework

 

Good Morning Doug-
IDEs are clumsy and not easy to automate
What I was looking for (and anyone out there looking for auto testcase generator tools please speak up)
was an completely automated test case generator similar to the one that Artur Hecfyz wrote for Junit..
http://sourceforge.net/project/shownotes.php?release_id=89718
This autotestcas generator would run through the source tree, creates all of the test cases for that package(namespace), executes the testcases and finally transforms the XML results to HTML and mails them out..all targets and tasks to be handled thru NANT
Thanks,
Martin

----- Original Message -----

To: Martin Gainty

Sent: Thursday, June 17, 2004 8:53 AM

Subject: RE: [Nant-users] Using our own test framework

 

We have writen Unit Tests in C# and they are run using an ASPX. We are thinking of Having NANT call an exe that we will write that will call these pages and parse their returns.

 

THoughts?

 


From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 8:26 AM
To: Doug Wallace; [EMAIL PROTECTED]
Subject: Re: [Nant-users] Using our own test framework

Good Morning Doug:

Since this is a NANT discussion list I'm assuming you are speaking of a NANT Script?
I assume you are speaking of NUnit.Framework or do you have your own Framework? 
Kindly explain the framework you are using.

Many Thanks,
Martin
-.NET Consultant-Boston MA USA 617-852-7822

"Experience has shown that natural keys are one of the greatest mistakes of relational theory ... because they have business meaning."

-- Scott Ambler, Persistence Modeling in the UML Toronto ON

----- Original Message -----

To: [EMAIL PROTECTED]

Sent: Tuesday, June 15, 2004 12:27 PM

Subject: [Nant-users] Using our own test framework

 

We use our own unit testing framework. Can Ant be scripted to run our own framework?

 

Doug Wallace

President

A G I L E

http://www.agile.net

[EMAIL PROTECTED]

T:416.977.4675 ext.26
F:416.599.1441

 

250 The Esplanade

Suite 400

Toronto, ON

M5A 1J2

 

Agile Solutions for the Agile Business

 



______________________________________________________________

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