---------- Forwarded message ----------
From: Phil Haack <[EMAIL PROTECTED]>
Date: Apr 21, 2006 7:40 AM
Subject: Multiple app.config files with MbUnit...
To: Andrew Stopford <[EMAIL PROTECTED]>
Hey Andrew,
I sometimes want to write unit tests that test out various App.config parameters. I used to have my test fixtures simply overwrite the existing config file in the bin/debug directory and it would work with NUnit. But I think with the shadow copy work in MbUnit, that won't work.
Is there some hack I can do to run different tests in the same assembly against different config files? Maybe that could be a feature request. It could be a new attribute:
[Test]
[AppConfig(EmbeddedResource="UnitTest.MyTests.Resources.App.config")]
public void SomeTest() {}
SomeTest would run against it. For now, I don't need this. Just some way to overwrite the App.config file that MbUnit uses for my tests.
Thanks!
Phil
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
