Help us shape the future of Go! Take the 2026 Go Developer Survey

fixtures

package
v0.7.169 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const AnalysisResponse = `` /* 392-byte string literal not displayed */

AnalysisResponse is the canned Claude response for the analysis step.

View Source
const PromptResponse = `` /* 390-byte string literal not displayed */

PromptResponse is the canned Claude response for the prompt generation step.

Variables

This section is empty.

Functions

func MultiReviewerResponse

func MultiReviewerResponse() string

MultiReviewerResponse returns a response with 2 PRs, 3 human reviewers (alice: 3 comments, bob: 2, charlie: 1) plus dependabot[bot] in both reviews and comments. Supports testing --top N filtering, bot filtering on reviews, totalComments, and CSV ranking order. Dates are generated relative to now so they always fall within the default 3-month --since window.

func OrgReposResponse

func OrgReposResponse(repoNames ...string) string

OrgReposResponse returns a single-page repos response.

func OrgValidationResponse

func OrgValidationResponse(org string) string

OrgValidationResponse returns a successful org validation response.

func RateLimitResponse

func RateLimitResponse() string

RateLimitResponse returns a healthy rate limit response.

func RepoNotFoundError

func RepoNotFoundError(org, repo string) string

RepoNotFoundError returns a GraphQL error response for a repository that cannot be resolved, used to test graceful error handling.

func ReviewActivityResponse

func ReviewActivityResponse() string

ReviewActivityResponse returns a response with one PR containing review comments. Dates are generated relative to now so they always fall within the default 3-month --since window.

func ReviewActivityWithBotResponse

func ReviewActivityWithBotResponse() string

ReviewActivityWithBotResponse includes a bot reviewer and bot commenter alongside human reviewers, for testing bot filtering. Dates are generated relative to now so they always fall within the default 3-month --since window.

Types

This section is empty.

Jump to

Keyboard shortcuts

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