jenkinsci / peass-ci-plugin

Jenkins plugin for peass to support performance measurement in CI
https://plugins.jenkins.io/peass-ci/
GNU Affero General Public License v3.0
4 stars 12 forks source link

Add an androidTestPackageName option for Android tests #225

Closed alex-iotiq closed 1 year ago

alex-iotiq commented 1 year ago

In some cases the test package name will be determined wrongly, because the package name of the to be tested classes is different from the correct test package name.

Adding an option to override the test package can solve this issue.

ADB will then throw an error like this Unable to find instrumentation info for: ComponentInfo{my.testpackage.test/androidx.test.runner.AndroidJUnitRunner} if the determined package name my.testpackage.test is incorrect.