github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/reportingtools/xunit_client.go (about)

     1  package reportingtools
     2  
     3  import "github.com/olli-ai/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/olli-ai/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  }