Skip to content

dependencies on tests that were skipped or failed #5

@mflorin

Description

@mflorin

We need to be able to run a test if and only if another test failed or was skipped.
One common scenario is when the test suite itself has a "Delete resource" kind of test and the cleanup section also has
a "delete resource" test. We want to run the delete in the cleanup only when the delete in the test suite is skipped.
For example, the sequence

  • tests:
    • create
    • update
    • delete
  • cleanup:
    • delete

Running with --fail-fast, if the update fails, the suite stops and the delete is not executed then the cleanup should still run to remove the resource that was just created.

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