Skip to content

[Feature Request] Could we introduce a new context for ordered tests? #735

@StarlightIbuki

Description

@StarlightIbuki

For example:

step("connect to server", function()
  -- ...
end)

step("send requests", function()
  -- ...
end)

The second test should happen after the first no matter what arguments are given, and the second is skipped when the first is failed/skipped.

I know the same behavior can be achieved by putting them into the same it() block, but:

  1. It will only be counted as 1 test in the summary;
  2. it won't benefit from before_each() etc.

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