Skip to content

Limit the number of generated tests to a random subset #61

Open
@alrz

Description

@alrz

Given a set of generated test cases, it's useful to be able to select a random subset for each run to reduce the CI time, while keeping the original combinatorial definition intact. e.g.

[Theory]
[CombinatorialCount(30)] 
public void Test(...) {}

There's already a helper to do this Random.GetItem in dotnet 8p1 but I think it's easy to backport.

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