I'm trying to access an internal class in main from a test class but it's not visible. Is this the correct behaviour? I'm just wondering because some SO threads claim it's possible to access internal class from test class. It's an android library project if it matters
s
sam
11/24/2021, 4:43 PM
if it's the same module should be visible in test if it's in main
l
Lilly
11/24/2021, 4:56 PM
@sam This seems to be an android specific limitation. I have tested 3 projects, 1 kotlin only and 2 android and an internal class is only visible in test class in the kotlin only project
s
sam
11/24/2021, 4:56 PM
Oh ok
l
Lilly
11/24/2021, 4:57 PM
I shouldn't fight against this convention so I guess I have to use the