issuetracker

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildResponseFor

func BuildResponseFor(t Type, issue string, status Status) []byte

BuildResponseFor given issue tracker type, issue ID and issue status

func IssueURLFrom

func IssueURLFrom(t Type, issue string) string

IssueURLFrom builds the appropriate expected issue url, given the issue tracker type & issue id

Types

type Status

type Status string

Status is an enum specifying the expected issue status while building your test scenario

const (
	StatusClosed Status = "Done"
	StatusOpen   Status = "Open"
)

Possible issue statuses to specify for your test scenarios

type Type

type Type string

Type is an enum specifying the target mock issue tracker to use

const (
	Jira Type = "Jira"
)

Issue tracker types available for test scenarios

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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