You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
How can I pass environment parameters to all tests run through the fork (using gradle plugin)?
I mean the ones are usually pass as testInstrumentationRunnerArguments. Parameters like clearPackageData: 'true' or custom ones like foo: bar, so in test i can get them using: InstrumentationRegistry.getArguments().getString("foo").
Seems that fork ignores params from testInstrumentationRunnerArguments and return just null
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How can I pass environment parameters to all tests run through the fork (using gradle plugin)?
I mean the ones are usually pass as
testInstrumentationRunnerArguments
. Parameters likeclearPackageData: 'true'
or custom ones likefoo: bar
, so in test i can get them using:InstrumentationRegistry.getArguments().getString("foo")
.Seems that
fork
ignores params fromtestInstrumentationRunnerArguments
and return justnull
The text was updated successfully, but these errors were encountered: