Skip to content

Format suggestion: Test Anything Protocol (TAP) #530

@yeldiRium

Description

@yeldiRium

I've recently come across the Test Anything Protocol (TAP) (wikipedia) and I think it's a fantastic idea that should be more widely suported.
Thus I want to suggest its implementation here.

TAP tries to be language and framework agnostic and to decouple test runners from report generators, while still being mostly human readable.
It's probably the oldest attempt at this, since it was created in 1987 and originally built for testing perl scripts.
It has implementations in various languages, but no wider community and I think bringing it to the most commonly used test runner in go could help with that.

The direct benefit that TAP output gives us is using existing consumers for reporting.
There aren't many actively maintained ones, the most mature being node-tap.
Go unfortunately doesn't have a good consumer yet, but without producers no consumers.

There was already a producer implementation of TAP for go, but it's been archived since 2020 and it was rather specific.

Is this something that could be interesting to the project?
If I find the time to contribute this, what are the chances of it being accepted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions