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
Bug: Single-test filter doesn't override package filter as documented
The comment states --single-test "overrides package filter" but the implementation only appends -e class to the command without removing the existing -e package or -e notPackage filter. In Android instrumentation, both filters are applied conjunctively (AND), so a test must match both conditions. If someone specifies --single-test for a test outside the shard's package scope (e.g., running a non-UI test while on a UI shard), no tests will execute and it will appear as a successful run with zero tests. The code behavior contradicts the documented intent.