Skip to content

scenario file dependencies #253

@zeroXbrock

Description

@zeroXbrock

Is your feature request related to a problem? Please describe.

we could compose scenarios separately to make them more readable and reduce duplication.

Describe the solution you'd like

add a requires field to the top-level scenario spec.

requires=["weth.toml", "uniV2.toml"]

[spam]
# ...

Then when parsing a TestConfig add the [create] and [setup] steps from the requires files to the given scenario config, in order and before any steps in the given config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions