Skip to content

coverAll(variants, feature) — bulk coverage convenience on Dartrix #7

Description

@liitx

What

Convenience method for covering multiple variants against the same feature in one call:

matrix.coverAll(WorkStatus.values, ZedFeature.dashboard);

Equivalent to:

for (final v in WorkStatus.values) matrix.cover(v, ZedFeature.dashboard);

When useful

When a single test exercises all variants of a given axis against one feature — e.g. a render test that iterates all variants and checks none crash.

Consideration

Should coverAll exist alongside testSelector? testSelector is the preferred path for deterministic per-variant coverage. coverAll is for cases where the test legitimately covers all variants in one shot (e.g. snapshot tests, invariant checks).

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