tap

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package tap parses TAP (Test Anything Protocol) streams, versions 12 and 13.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser handles TAP 12/13 output.

func (Parser) Detect

func (Parser) Detect(header []byte) bool

Detect reports whether header looks like TAP 12/13 output.

func (Parser) Extensions

func (Parser) Extensions() []string

Extensions returns the file extensions this parser handles.

func (Parser) Name

func (Parser) Name() string

Name returns the parser identifier.

func (Parser) Parse

func (Parser) Parse(r io.Reader, source string) (*model.Report, error)

Parse reads a TAP stream from r and returns a Report.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL