github.com/jenkins-x/jx/v2@v2.1.155/pkg/reportingtools/xunit_client.go (about) 1 package reportingtools 2 3 import "github.com/jenkins-x/jx/v2/pkg/cmd/opts" 4 5 // XUnitClient is the interface defined for jx interactions with the xunit-viewer client 6 //go:generate pegomock generate github.com/jenkins-x/jx/v2/pkg/reportingtools XUnitClient -o mocks/xunitclient.go 7 type XUnitClient interface { 8 EnsureXUnitViewer(o *opts.CommonOptions) error 9 EnsureNPMIsInstalled() error 10 CreateHTMLReport(outputReportName, suiteName, targetFileName string) error 11 }