Skip to content

Runtime skipping of tests #162

@epage

Description

@epage

Something I've found useful from pytest is the ability for a test (or a fixture) to be able to report that it is skipped. When a fixture is skipped, all dependencies are automatically skipped as well.

For example, in cargo's tests we have our own test macro that allows us to skip tests if you aren't running on nightly or if you don't have git. Due to how libtest works, these get reported as "passed" rather than "ignore" or "skipped".

Being able to support this natively and report it correctly to the user would be a big help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions