You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.
My test folder contains Robolectric and JUnit tests.
Some of those tests are fetching files from a resource folder located inside the test folder.
When running the test gradle task, the tests can use the files places in resource folder and everything works well.
The same tests fail to find the resource files when running with the JUnit test runner.
I'm not sure if this is an issue with the IDE plugin or with JCAndKSolutions' android-unit-test gradle plugin.
Is it related to JCAndKSolutions/android-unit-test#80 ?
The text was updated successfully, but these errors were encountered:
When you say "resources", are you talking "res" or "resources"? The former would be caused by that issue you linked, which you can workaround by running gradle copyDebugTestResources after you change any of your resources. If it's the later, then you are looking at #4.
My test folder contains Robolectric and JUnit tests.
Some of those tests are fetching files from a resource folder located inside the test folder.
When running the test gradle task, the tests can use the files places in resource folder and everything works well.
The same tests fail to find the resource files when running with the JUnit test runner.
I'm not sure if this is an issue with the IDE plugin or with JCAndKSolutions' android-unit-test gradle plugin.
Is it related to JCAndKSolutions/android-unit-test#80 ?
The text was updated successfully, but these errors were encountered: