fixtures

package
v0.7.15 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 0 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.

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.

func ReviewActivityWithBotResponse

func ReviewActivityWithBotResponse() string

ReviewActivityWithBotResponse includes a bot reviewer and bot commenter alongside human reviewers, for testing bot filtering.

Types

This section is empty.

Jump to

Keyboard shortcuts

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