testreport

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SequenceDiagramFormatter

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

SequenceDiagramFormatter implementation of a ReportFormatter

func SequenceDiagram

func SequenceDiagram(path ...string) *SequenceDiagramFormatter

SequenceDiagram produce a sequence diagram at the given path or .sequence by default

func (*SequenceDiagramFormatter) Flush

func (r *SequenceDiagramFormatter) Flush()

func (*SequenceDiagramFormatter) Format

func (r *SequenceDiagramFormatter) Format(recorder *apitest.Recorder)

Format formats the events received by the recorder

type TestSuiteReporter

type TestSuiteReporter struct {
	InternalFormatter map[string]*SequenceDiagramFormatter
	Path              string
	Name              string
}

func New

func New(name string, path string) *TestSuiteReporter

func (*TestSuiteReporter) Flush

func (r *TestSuiteReporter) Flush()

func (*TestSuiteReporter) Format

func (r *TestSuiteReporter) Format(recorder *apitest.Recorder)

Jump to

Keyboard shortcuts

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