Skip to content

Don't report skipped tests as passing #251

@awlayton

Description

@awlayton

The spec doesn't seem to make a requirement either way, but I think the idea was that skipped tests are not "passing" since they don't run.

This example reports 2 passing tests, but I expected it to report 1 passing and 1 skipped.

test = require('tape');

test('foo', function(t) {
    t.pass(1, 'yay');
    t.skip('stuff');
    t.end();
});

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