Skip to content

Include assertions in TAP output #324

@vadimdemedes

Description

@vadimdemedes

While I was working on TAP support, I realized reporters want to know the assertions for each test. At the moment, test title just duplicated as an assertion.

screen shot 2015-12-11 at 10 10 43 pm

As you see on the screenshot, it results in a double test title.
It happens in tap-spec, tap-difflet & tap-min reporters at least. Other reporters are ok.

So what we need now, is to collect information about each test's assertions (in Test class), so that we output meaningful results for TAP reporters. Plus, it would probably benefit future integrations (e.g. with text editors).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions