Skip to content

run all scenarios in CI tests #113

@zeroXbrock

Description

@zeroXbrock

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

If there's ever a breaking change to the TOML spec, we have to update all the builtin scenarios. Running them in CI will make sure we don't miss any, and will also alert us if we don't realize we've made a breaking change.

Describe the solution you'd like

Add a rust test that loads the scenario configs from the files in ./scenarios/ and runs setup and a short spam run on a spawned anvil instance.

Describe alternatives you've considered

I considered writing a shell script that would invoke the CLI, but that would be kind of muddy, because now we'd be testing both the CLI and the scenario files. This test only needs to consider whether the scenario files are valid, both syntactically and functionally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions