Documentation
¶
Overview ¶
Package fake provides an in-process tracker.Tracker for tests. It registers itself under type "fake" so close_e2e_test.go can wire it through config.IssueTrackerConfig like a real adapter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tracker ¶
type Tracker struct {
Issues []tracker.Issue
Statuses []string
RecordedUpdates []Update
// contains filtered or unexported fields
}
Tracker is the exposed concrete type so tests can read RecordedUpdates after Close() returns. Construct via New() to satisfy the registry signature.
func (*Tracker) ListIssues ¶
ListIssues returns a snapshot of the configured issues.
func (*Tracker) ListStatuses ¶
ListStatuses returns a snapshot of the configured status names.
Click to show internal directories.
Click to hide internal directories.