I have a solution which contains two assemblies, both in VB.Net. One assembly contains my code, which mainly includes Friend
Classes; and the other assembly contains code dedicated toe unit testing the first assembly. I rely on MSTest.
How can I Unit Test my Friend
Classes?
I have seen across several tutorials and documentation that C# has the <Assembly(): InternalsVisibleTo("AssemblyName")>
, but I understand this is not available for VB.
Whilst searching on SO, I only found one match, which suggests an interesting workaround. I am willing to follow this alternative if there is no better option. I am however very surprised there is no clean way to achieve something I though was quite elementary.