Documentation
¶
Index ¶
Constants ¶
This section is empty.
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 ¶
OrgReposResponse returns a single-page repos response.
func OrgValidationResponse ¶
OrgValidationResponse returns a successful org validation response.
func RateLimitResponse ¶
func RateLimitResponse() string
RateLimitResponse returns a healthy rate limit response.
func RepoNotFoundError ¶
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.