Instrumental Testing Android Studio


When developing instrumental tests for my android application, I'm faced with a problem and I do not see why this happens.

Why is MainActivity not recognized?

asked by anonymous 21.08.2017 / 00:04

1 answer


You need to import, because your tests should be in: module-name / src / androidTest / java while the MainActivity class is in: module-name / src / java.

21.08.2017 / 01:23