Skip to content

Gherkin syntax When #27

@corrado4eyes

Description

@corrado4eyes

Represents an event triggered by the user or by another system.
Docs

feature("Some feature") {
    scenario("Some scenario") {
        given("The user is not logged in") {
            // initialise user to be logged off
        }
        `when`("The user presses the red button") {
            // assert that the user made some action
        }
        then("Something bad happens") {
            // assert the error state
        }
    }
}

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