Place this inside the assembly info of the project that you want to test:
//Taken from the Ent. Lib. 2.0 Solution.
[assembly: InternalsVisibleTo("Microsoft.Practices.EnterpriseLibrary.Data.Tests")]
The argument, in this case "Microsoft.Practices.EnterpriseLibrary.Data.Tests", should be the name of the project containing the tests.
Friday, January 11, 2008
Subscribe to:
Post Comments (Atom)
1 comment:
Awesome! I was just wandering how to test my internal methods!
Post a Comment