I have a unit test class like the following:
[TestClass]
internal class AttractionRepositoryUnitTest :
RepositoryBaseTest<AttractionRepository, Attraction, AttractionFakeRepository>
{
//Code here
}
The tests inside those class are never found due to the internal modifier. To make it visible, one of the classes inside the RepositoryBaseTest has to become public, which is undesirable and to avoid that, I would need a refactorization that would take some time. Is it possible to make this test class visible to the unit tests without modifying it's visibility?
The Test class is the one that it is internal.
Tis and why it has to be internal. What possible unit test concern has to be internal to a unit test project? Your tests are in a different project from the code they’re testing, right?