Enabling logging in NUnitRussell,
I think I understand what you're trying to do.
In our solution we keep the unit tests in a separate class library called
UnitTests. I added some pre-build events in Visual Studio on the UnitTests
class library to copy our web.config file to the bin folder of the unit tests
and rename it as UnitTests.config. The map files are copied in this way too.
It's what I can up with. I would be interested to see how other people have
done this. There's probably an easier way.
Vince
----- Original Message -----
From: Lear, Russell
To: [email protected]
Sent: Wednesday, November 07, 2007 7:34 PM
Subject: Enabling logging in NUnit
This is probably a question with a very obvious answer, but ..
I'm trying to run some unit tests using NUnit. I'm not sure how to enable
logging in iBATIS. I assume I create an app.config file for the test DLL. (as
opposed to an app.config file for the DLL under test). But I'm not sure how to
convince iBATIS to read that file and Do the Right Thing. Any pointers
appreciated!
Thanks,
Russell.