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
### Instrumentation Test Runner Class
## The fully-qualified Java class name of the instrumentation test runner
## (default: the last name extracted from the APK manifest).
# test-runner-class: com.foo.TestRunner
test-runner-class is not required but, I got the error.
Is the documentation is wrong?
To Reproduce
Steps to reproduce the behavior:
Set gcloud.type: instrumentation to your flank.yml.
Run flank run android.
Flank exits with Instrumentation tests require a valid test-runner-class defined. error.
Expected behavior
A clear and concise description of what you expected to happen.
No errors.
Details (please complete the following information):
@kubode
Thanks for reporting it! Try without type: instrumentation (just remove/comment in config file). Yet, it's a workaround and needs to be fixed :)
Fixes#1444
`test-runner-class` has a default value (the last name extracted from the APK manifest), so it is not needed to fast fail if this option is not specified
## Test Plan
> How do we know the code works?
1. Set `gcloud.type: instrumentation` to your `flank.yml`.
2. Run `flank run android`
3. Do not set `test-runner-class`
4. Tests do not fast fail
## Checklist
- [x] Unit tested
Describe the bug
I got
Instrumentation tests require a valid test-runner-class defined.
error when I runflank run android
after upgrading tov21.01.0
:The documentation says:
test-runner-class
is not required but, I got the error.Is the documentation is wrong?
To Reproduce
gcloud.type: instrumentation
to yourflank.yml
.flank run android
.Instrumentation tests require a valid test-runner-class defined.
error.Expected behavior
No errors.
Details (please complete the following information):
My
flank.yml
:Additional context
This issue did not happen with
v20.09.3
.Seems like this issue was included at #1230.
The text was updated successfully, but these errors were encountered: