Thx... is this attribute documented... i may have overlooked it...


From: "Gert Driesen" <[EMAIL PROTECTED]>
To: "Yogesh Shetty" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: Re: [nant-dev] NUnit & Config
Date: Wed, 20 Aug 2003 18:05:20 +0200


Hi Yogesh,

The <test> element has a appconfig attribute that can be used to set the
application configuration file that should be used.

Gert

----- Original Message -----
From: "Yogesh Shetty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 4:33 PM
Subject: [nant-dev] NUnit & Config


> I have below fragment placed in a build file
>
> <nunit2 basedir="${OutputFolder}" failonerror="false">
> <test assemblyname="${OutputFolder}/UnitTest.dll" />
> </nunit2>
>
> The problem is my test cases are dependent on configuration file which are
> stored in UnitTest.dll.config and read using Microsoft Configuration
> Application Block. The test cases works fine, it can read / write
> information to/from configruation file, when tested using NUnit-Gui or
> NUnit-Console app.
>
> But when the same test case is executed using the NAnt task it fails ( not
> able to locate the config file )
>
> As we all know NUnit creates a separate appdomain and points the
> applicationconfiguration file to the physical path of the assembly it
loaded
> but whereas using NAnt it points to the launch directory of the nant
> application instead of test asssembly path.
>
>
>
> Regards
> Yogesh S
>
> _________________________________________________________________
> MSN Messenger V6.0. Give it a fun name.
> http://server1.msn.co.in/sp03/ilovemessenger/index.asp Win cool stuff!
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by Dice.com.
> Did you know that Dice has over 25,000 tech jobs available today? From
> careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
> best hiring companies. http://www.dice.com/index.epl?rel_code=104
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>
>




-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

_________________________________________________________________
Formula 1 fan? This is for you! http://server1.msn.co.in/sp03/formula2003/photogallery/gallery/gal3.asp Best pics of the year.




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to