Categorygithub.com/Tobacco2022/go-html-report
modulepackage
1.0.1
Repository: https://github.com/tobacco2022/go-html-report.git
Documentation: pkg.go.dev

# README

report

Install

go install github.com/Tobacco2022/go-html-report@latest

Usage



# usage: convert go test output to html report
 go test -v ./... |report .
 go test -v ./... |report index.hmtl

Refer

# Functions

JUnitReportXML writes a JUnit xml representation of the given report to w in the format described at http://windyroad.org/dl/Open%20Source/JUnit.xsd.
No description provided by the author
Parse parses go test output from reader r and returns a report with the results.
No description provided by the author

# Constants

Test result constants.
Test result constants.
Test result constants.

# Structs

Benchmark contains the results of a single benchmark.
No description provided by the author
JUnitFailure contains data related to a failed test.
JUnitProperty represents a key/value pair used to define properties.
JUnitSkipMessage contains the reason why a testcase was skipped.
JUnitTestCase is a single test case with its result.
JUnitTestSuite is a single JUnit test suite which may contain many testcases.
JUnitTestSuites is a collection of JUnit test suites.
Package contains the test results of a single package.
Report is a collection of package tests.
Test contains the results of a single test.

# Type aliases

Result represents a test result.