output

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputData

type OutputData struct {
	Summary *aggregator.Summary      `json:"summary"`
	Results []*aggregator.TestResult `json:"results"`
}

OutputData contains all data to be written

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

Writer handles output generation

func NewWriter

func NewWriter(jsonFile, csvFile string) *Writer

NewWriter creates a new output writer

func (*Writer) WriteAll

func (w *Writer) WriteAll(summary *aggregator.Summary, results []*aggregator.TestResult) error

WriteAll writes both JSON and CSV outputs

func (*Writer) WriteCSV

func (w *Writer) WriteCSV(results []*aggregator.TestResult) error

WriteCSV writes results to a CSV file

func (*Writer) WriteJSON

func (w *Writer) WriteJSON(data *OutputData) error

WriteJSON writes results to a JSON file

Jump to

Keyboard shortcuts

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