Skip to content

Should we unify enumerated tests across platforms? #140

@epage

Description

@epage

An idea I've toyed with is

#[test]
#[cfg(windows)]
fn test() {
}

being turned into

#[test]
#[cfg(windows)]
fn test() {
}

#[test]
#[cfg(not(windows))]
fn test(ctx: TestContext) {
    ctx.sklip()?;
}

(#48 makes some reference to this)

This would let you see what coverage you are missing when you run tests on one platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-libtest2Area: libtest implemented on top of the new harnessC-questionUncertainty is involved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions