Skip to content

Feature request: a run mutation #335

Open
@ZacSweers

Description

@ZacSweers

While there are a number of mutations today for defining scenarios, we've found them unhelpful in some cases due to either being too trivial or too limiting. I'd like to propose a new run mutation that would act similar to git bisect run, where an arbitrary shell script + any arguments is given. This would be invoked before each iteration to apply a set of changes handled by the script.

One example where we would want to use this is to apply changes that would specifically change the dependency graph in a build profiling Dagger, such as adding a parameter to an injected class's constructor. This would give flexibility for scenario authors to profile specific cases unique to their build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions