Hi Vincent,

If you're using VS2005 and TestDriven.NET to call MbUnit all you need
to do is create an App.config file in your project. This will be used
as the configuration file for your test app domain. The .temp file is
a copy of this file that is created by TestDrvien.NET for the duration
of the test run.

Regards,
Jamie.

--
http://www.testdriven.net
http://weblogs.asp.net/nunitaddin


On 3/16/07, Jonathan de Halleux <[EMAIL PROTECTED]> wrote:
> I'm not working on MbUnit, but people on the user list should be able to
> help you. Thanks :)
>
> ---------- Forwarded message ----------
> From: Decrauzat, Vincent
> <[EMAIL PROTECTED]>
> Date: Mar 16, 2007 2:16 AM
> Subject: Tests with config file
> To: [EMAIL PROTECTED]
>
>
>
>
> Hi Jonathan,
>
> I've just read the article "TestConfigurationFile" in MbUnit documentation.
> It works well to read a configuration file.
>
> But in my tests, I would like to:
> 1. Read known app settings from a config file.
> 2. Alter the configuration , save it and check that the config file is
> correctly updated.
> 3. Reload the settings from config file and check that I have the new
> values.
>
> When I try to do this, I have no problem with step 1.
> But in step 2, I can see that a file MyAssembly.dll.config.temp is created.
>
> Is it possible to avoid this and to write in MyAssembly.dll.config ?
>
> Thanks in advance
> Vincent
>
> Vincent Decrauzat
>
> SWISS TIMING Ltd.
> Rue de l'Envers 1, case postale 138
> CH-2606 Corgémont (BE), Switzerland
> Phone: +41 32 488 36 11 - Fax : +41 32 488 36 09
> Direct Phone: +41 32 488 36 41
>
> Email: mailto:[EMAIL PROTECTED]
>
> SVP, pensez à l'environnement avant d'imprimer ce message
>
> Please consider the environment before printing this e-mail
>
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to