Documentation ¶
Overview ¶
Package testutil provides utilities for testing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeDummyFile ¶
func MakeDummyFile(name string)
MakeDummyFile creates a file with fake data in it
func NewApp ¶
func NewApp(listf, loginf, closef func(*cli.Context) error) *cli.App
NewApp makes mock cli app (mirroring ghi's interface)
func SetupIssueServer ¶
SetupIssueServer sets up a local server that serves fake data, simulating https://api.github.com/search/issues
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.