I’ve written some unit tests for my common code, but the class I’m testing is internal and it’s throwing an error because of this. The test and the class it’s testing are both in the same package.
Is it only possible to test public classes?
e
elizarov
03/22/2018, 12:26 PM
It does not matter if they are in the same package or not. Internals are visible to tests. There should be something else. Do you have a multiplatform project? Do you see an error in IDE? Does it work from Gradle?