Skip to content

Can Riot optionally support setup/teardown runs per assertion? #21

@gus

Description

@gus

Maybe this is a switch we can allow people to turn on. The compactness of the Riot DSL is a nice feature separate from how setups and assertions behave. Maybe it's time Riot grows a little.

This could possibly be done with a simple:

set :make_dominikh_happy, true

and then Context can look for :make_dominikh_happy. Or maybe even as a middleware that can be optionally required in that looks for this option? Yes, the optional middleware seems best since it only impacts those who want this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions