Re: cc.net & nunit integration

"Wilson, Michael" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <810022CBB8D66248B817656F2458DA990580F4@MSG-EX01-SSI-DR.win.itginc.com>
Ooh nice.  Thanks.  I'll definitely hunt that down.

I'm finding the flexibility of CC as an obstacle actually.  (the answer
to "how" always seems to be "well... it depends.")


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Brad
Stiles
Sent: Wednesday, May 28, 2008 2:43 PM
To: [email protected]
Subject: Re: [Nunit-users] cc.net & nunit integration

Wilson, Michael <[email protected]> wrote:

> We'd really like to have test failure carry through as a build failure
> to CC if at all possible.

I've found that the simplest way to handle NUnit run under CC.NET is to 
have it run from NAnt, as part of the project's build.  I tend to set up

all the tasks I want to run in a build in one build file, and have 
CC.NET execute that.  Compilation, unit testing, fxcop, packaging, 
deploying (if appropriate), etc are all in the project's build file, and

I have CC.NET run that.  Failure of any one of those will trigger a 
total build failure.

A good resource for CC.NET is Marc Holmes' "Expert .NET Delivery Using 
NAnt and CruiseControl.NET" 
http://www.amazon.com/Expert-Delivery-Using-CruiseControl-NET-Experts/dp
/1590594851/ref=sr_1_1?ie=UTF8&s=books&qid=1212000087&sr=8-1


Brad 


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient.  Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
Technology Group, Inc.

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.