Android Unit Testing With Robolectric Throws Error Androidmanifest.xml Not Found Or Not A File
I am trying to use Robolectric to run a test case on a App in Eclipse as described in this blog, but when I run the JUnit Test, I get the following error java.lang.RuntimeException
Solution 1:
You have two options:
- You should run JUnit in the folder where is AndroidManifest.xml is placed
- You could extend RobolectricTestRunner and call parent constructor with path to the AndroidManifest.xml
Post a Comment for "Android Unit Testing With Robolectric Throws Error Androidmanifest.xml Not Found Or Not A File"