Instrumental Testing Android Studio

1

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

0

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