Issue
I can't seem to be getting my gradle project to recognize instrumentTest as the testing folder. As a result, the java subfolder is not green and I can't create any tests out of it. I have tried setting the sourceSet in the build.gradle file with no luck.
sourceSets {
instrumentTest.setRoot("src/instrumentTest")
}
I also tried renaming instrumentTest to androidTest, but again it is not recognized as the testing folder. My file structure is set up like this:
- AppModule
* src
- instrumentTest
- main
Does anyone know the solution to this?
Solution
The solution for me was to upgrade my IntelliJ version from 13.0.3 to 13.1.3. There must be some kind of bug with IntelliJ 13.0.3.
Answered By - njthoma
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.