Skip to content

Cannot run individual instrumented tests #184

@ktkopone

Description

@ktkopone

Using gradle to try to run an individual instrumented test method will instead run all tests within that method's class.

E.g. running ./gradlew clean connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=stupidSampleGradleProject.StupidConnectedTest#stupidConnectedPassTest will run all tests in the StupidConnectedTest class, rather than only the specified one. (See #174 for the approximate build.gradle and sample test file configuration I'm using).

I verified that this was not an issue when running equivalent JUnit 4 instrumentation tests.

Let me know if you need more details to reproduce!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions