-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip module if it has no tests #229
Comments
Even a check as simple as the one connectedAndroidTest (DeviceProviderInstrumentTestTask) does should be fine. |
Thanks for the suggestion. What is the purpose of applying the plugin to a module without tests? |
Hi all. I have the same request. The situation where this occurs:
We get:
Idea I'll try that should hopefully work:
|
I have a similar issue with a slightly different cause - We have two configurations for Flank, one for our regular UI test suite and one for benchmark tests. Our default configuration does not run benchmark tests. We apply the plugin to a module that contains only benchmark tests, but when we run the |
Would be great to have this logic baked into the plugin 🙏 We have a central deny list for the android-tests added by the teams or nightly-builds, in case they are flaky and other reasons to unblock PR's for the time-being and to be fixed later. |
If an Android module has no tests, we should be able to skip it automatically.
The current behavior is:
This fails the task (and the entire run) even if all tests in other modules passed.
The text was updated successfully, but these errors were encountered: