How to make Cucumber features run in an Android project as local unit tests?
问题 I have an Android project written in Java that I'm working on in Android Studio. I'd like to use Cucumber for integration testing of some internal components (note: I know this is not the BDD way, nonetheless useful to me). I want the tests to run as local unit tests (without Instrumentation) using gradlew test because the components under test do not interact with the Android SDK. My problem is that the Cucumber features are not recognized by Gradle and do not run when I run gradlew test .