Documentation ¶
Index ¶
- type StringReader
- type ZBTest
- func (t *ZBTest) CacheFile(ctx zbcontext.Context, p *project.Package) (string, error)
- func (t *ZBTest) HaveResult(ctx zbcontext.Context, p *project.Package) (bool, error)
- func (t *ZBTest) ReadResult(ctx zbcontext.Context, r StringReader, p *project.Package) error
- func (t *ZBTest) ShowResult(ctx zbcontext.Context, w io.Writer, p *project.Package) (bool, error)
- func (t *ZBTest) TestSetup(ctx zbcontext.Context) zbcontext.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringReader ¶
StringReader is satisfied by bufio.Reader
type ZBTest ¶
type ZBTest struct { buildflags.TestFlagsData Force bool }
ZBTest provides methods for working with cached test result files
func (*ZBTest) CacheFile ¶
CacheFile returns the location of the test cache file for a given package
func (*ZBTest) HaveResult ¶
HaveResult checks to see if a test result is available for a given package
func (*ZBTest) ReadResult ¶
ReadResult from the StringReader and write it to the CacheFile for the given package
func (*ZBTest) ShowResult ¶
ShowResult reads the CacheFile for the given package and writes it to the Writer
Click to show internal directories.
Click to hide internal directories.