Skip to content

Bug: Matrix Runner Script Single-test filter doesn't override package filter as documented #106

@williscool

Description

@williscool

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.

Fix in Cursor Fix in Web

Originally posted by @cursor[bot] in #105 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions