Documentation
¶
Index ¶
- func AssertGoldenJournals(t *testing.T, graph *logseq.Graph, caseDirName string, pages []string)
- func AssertGoldenPages(t *testing.T, graph *logseq.Graph, caseDirName string, pages []string)
- func AssertPagesDontExist(t *testing.T, graph *logseq.Graph, pages []string)
- func CaptureOutput(function func()) string
- func RelativeTime() time.Time
- func StubBacklog(t *testing.T, configPage, caseDirName string, apiResponses *StubAPIResponses) backlog.Backlog
- func StubGraph(t *testing.T, caseDirName string) *logseq.Graph
- type QueryArg
- type StubAPIResponses
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertGoldenJournals ¶
func AssertGoldenPages ¶
func AssertPagesDontExist ¶
func CaptureOutput ¶
func CaptureOutput(function func()) string
CaptureOutput captures both stdout and stderr. It also works with the "color" package.
func RelativeTime ¶
func StubBacklog ¶
Types ¶
type StubAPIResponses ¶
type StubAPIResponses struct {
Queries []QueryArg
}
Click to show internal directories.
Click to hide internal directories.