Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GradleRoboSpecification fails to load project resources #55

Open
r-gurzkowski opened this issue Nov 10, 2015 · 1 comment
Open

GradleRoboSpecification fails to load project resources #55

r-gurzkowski opened this issue Nov 10, 2015 · 1 comment

Comments

@r-gurzkowski
Copy link

Hi,

I have tested 0.7 and 1.0 version and the same issue occurs. When I am using GradleRoboSpecification only Android system resources are loaded and ResourceNotFound error is raised during tests. I have fixed this issue by falling back to RoboSpecification with manifest path specified (standard location). After upgrading to 1.0 I saw RoboSpecification is Deprecated. I do not know what is causing the issue, a hint is that I have multimodule project with both java and android libraries.

Any ideas what is causing this issue?

@pjakubczyk
Copy link
Member

did you try to place configuration in src/test/resources/robolectric.properties ?

it is the best way to configure test env. Please mind the fact that AndroidStudio uses other root dir for project than gradle does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants