Robolectric @Config path value for manifest
问题 I am trying to run robolectric unit test but I am getting error as AndroidManifest.xml not found on path. Can anyone give me an example path of @Config manifest value. Is it relative path or absolute one? Thanks in advance 回答1: If you are using maven to run your tests you can set as follows: @Config(manifest = "../app/AndroidManifest.xml") @RunWith(RobolectricTestRunner.class) public class SomeTestCase { ... } Please note that if you are using Android Studio/Intellij and want to run your