Skip to content

Parameterized Instrumented tests mangle test output #185

@ktkopone

Description

@ktkopone

E.g. Android Studio displays them as:

Screen Shot 2019-09-24 at 6 39 32 PM

Note that the parameterized test method and its cases seem to have been put under new mangled class headings ("String)") instead of all grouped under the test class (StupidConnectedTest). Additionally, the parameter cases ("", "abc", "123") have been mangled with the method name appended.

Checking the console output reveals the parameterized test has been similarly
mangled there too, so this is not or not solely an IDE issue:

gradle_instrumentation_param_tests_output.txt

Sample instrumentation test file (src/androidTest/java/stupidSampleGradleProject/):

StupidConnectedTest.java.txt

Sample build.gradle:
build.gradle.txt

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions