-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Enhancement] Detect '0 tests' when running emulator tests #11078
Comments
Suggested implementation is after the emulator test run, inspect the actual test results report to make sure tests executed were > 0 probably determine filename --> the test results file will need to be parsed like that because the test itself is "passing", it successfully executes 0 tests, the problem is that for some reason (like on API22 emulator in CI I think?) it finds 0 tests instead of the actual number of androidTests we have |
Sometimes an emulator "runs" tests, but it actually discovered zero tests, runs zero tests, and still reports success. Lookin' at you API21. Fixes ankidroid#11078
Sometimes an emulator "runs" tests, but it actually discovered zero tests, runs zero tests, and still reports success. Lookin' at you API21. Fixes ankidroid#11078
Sometimes an emulator "runs" tests, but it actually discovered zero tests, runs zero tests, and still reports success. Lookin' at you API21. Fixes ankidroid#11078
Sometimes an emulator "runs" tests, but it actually discovered zero tests, runs zero tests, and still reports success. Lookin' at you API21. Fixes ankidroid#11078
Sometimes an emulator "runs" tests, but it actually discovered zero tests, runs zero tests, and still reports success. Lookin' at you API21. Fixes ankidroid#11078
Sometimes an emulator "runs" tests, but it actually discovered zero tests, runs zero tests, and still reports success. Lookin' at you API21. Fixes #11078
Sometimes an emulator "runs" tests, but it actually discovered zero tests, runs zero tests, and still reports success. Lookin' at you API21. Fixes ankidroid#11078
Sometimes an emulator "runs" tests, but it actually discovered zero tests, runs zero tests, and still reports success. Lookin' at you API21. Fixes ankidroid#11078
We were testing the API21 emulator, and it didn't run any tests, but the action passed.
We should modify the github action to check the number of tests run for emulator tests and ensure that it's greater than zero.
If it's not, fail the action
The text was updated successfully, but these errors were encountered: