Skip to content

Better test failure output #528

Description

@wraithgar

From npm/cli#8621:

My only complaint about the failures is that I didn't immediately know to search for not ok. It'd be nice if failing tests said:

Search for not ok to identify failures.

This is not a trivial thing to solve, since not ok only shows up in CI and other non-tty environments. So a blanket statement like that would not make much sense. We'd either need a custom default tap reporter or we'd need some kind of test running wrapper to display that output, and then only when applicable.

Opening this ticket to record this idea at least.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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