|
From: Levi K. <LKh...@th...> - 2004-10-28 16:01:13
|
On my current project we keep most of our unit tests in the same assembly as the code they're testing. There are two reasons for that: 1) It keeps things simple with regards to references and the number of assemblies involved 2) It's easy to test internal types since we don't have to make them public or use reflection We keep tests in a sub-folder within each project and exclude it from release builds. It all worked nicely until we needed to strong name one of our assemblies since strongly named assemblies obviously can't reference non-strongly named nmock.dll. I see no harm in strongly naming nmock.dll, especially since NUnit.Framework.dll is already strongly named. So if I don't hear any objections from you I'll just go ahead and add signing to the NAnt build script. Please tell me if you think it's a bad idea. Regards, - Levi |