Sample code in framework\'s AssemblyInfo.cs:
AssemblyInfo.cs
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo (\"Test.Com
No, it is not considered bad practice. There is no other way, if the classes you want to test are internal to your assembly for good reasons. Just not testing them would be a lot worse.