Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,487 in github.com/cli/cli
⨍
Functions
7,487
◇
Types & classes
1,526
Function
TestPublishRun
(t *testing.T)
pkg/cmd/skills/publish/publish_test.go:178
Function
TestPublishRun_DirArgUsesTargetRemote
(t *testing.T)
pkg/cmd/skills/publish/publish_test.go:1554
Function
TestPublishRun_UnsupportedHost
(t *testing.T)
pkg/cmd/skills/publish/publish_test.go:153
Function
TestPullRequestFeatures
(t *testing.T)
internal/featuredetection/feature_detection_test.go:90
Function
TestPullRequestGraphQL
(t *testing.T)
api/query_builder_test.go:5
Function
TestPullRequestRepositoryDatabaseID
(t *testing.T)
api/queries_pr_test.go:589
Function
TestPullRequestRepositoryViewerPermission
(t *testing.T)
api/queries_pr_test.go:614
Function
TestPullRequestResolution
(t *testing.T)
pkg/cmd/pr/shared/find_refs_resolution_test.go:158
Function
TestPullRequest_ExportData
(t *testing.T)
api/export_pr_test.go:428
Function
TestQualifiedHeadRef
(t *testing.T)
pkg/cmd/pr/shared/find_refs_resolution_test.go:16
Function
TestQualifiedName
(t *testing.T)
pkg/cmd/skills/search/search_test.go:597
Function
TestQualifiersMap
(t *testing.T)
pkg/search/query_test.go:241
Function
TestRESTAndRESTWithNextErrorTypeParity
(t *testing.T)
api/client_test.go:169
Function
TestRESTError
(t *testing.T)
api/client_test.go:113
Function
TestRESTGetDelete
(t *testing.T)
api/client_test.go:79
Function
TestRESTMatch
(t *testing.T)
script/ghmock/checker_test.go:441
Function
TestRESTPrefix
(t *testing.T)
internal/ghinstance/host_test.go:126
Function
TestRESTWithFullURL
(t *testing.T)
api/client_test.go:93
Function
TestRESTWithNext
(t *testing.T)
api/client_test.go:193
Function
TestRESTWithNextError
(t *testing.T)
api/client_test.go:142
Function
TestRESTWithNextNoContent
(t *testing.T)
api/client_test.go:220
Function
TestRangeArgs
(t *testing.T)
pkg/cmdutil/args_test.go:60
Function
TestRankByRelevance
(t *testing.T)
pkg/cmd/skills/search/search_test.go:557
Function
TestRankByRelevanceStarsTiebreak
(t *testing.T)
pkg/cmd/skills/search/search_test.go:575
Function
TestReadContent
(t *testing.T)
pkg/cmd/issue/artifact/shared/content_test.go:15
Function
TestReadEventsEndFrameNotValidUTF8
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:709
Function
TestReadEventsPrintsEventBeforeMoreBytesArrive
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:655
Function
TestReadEventsSanitizesEachFrame
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:681
Function
TestReadEventsSanitizesEndFrame
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:696
Function
TestReadEventsSkipsInvalidJSON
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:638
Function
TestReadMarkdownBodyFile
(t *testing.T)
pkg/cmdutil/file_input_test.go:28
Function
TestReasons
(t *testing.T)
pkg/cmd/issue/lock/lock_test.go:734
Function
TestRebuildContainerFailure
Test that the RPC invoker throws an error when the rebuild fails
internal/codespaces/rpc/invoker_test.go:226
Function
TestRebuildContainerFull
Test that the RPC invoker doesn't throw an error when requesting a full rebuild
internal/codespaces/rpc/invoker_test.go:201
Function
TestRebuildContainerIncremental
Test that the RPC invoker doesn't throw an error when requesting an incremental rebuild
internal/codespaces/rpc/invoker_test.go:176
Function
TestRecordInstall
(t *testing.T)
internal/skills/lockfile/lockfile_test.go:23
Function
TestRecordTelemetry
(t *testing.T)
pkg/cmdutil/telemetry_test.go:16
Function
TestRecordTelemetryForSubcommands
(t *testing.T)
pkg/cmdutil/telemetry_test.go:238
Function
TestRedirectTargetClassificationError
(t *testing.T)
internal/safepaths/root_validation_test.go:58
Function
TestRefreshableForUser
(t *testing.T)
internal/config/refreshable_test.go:37
Function
TestRegisterFixtureRepositoryCleanup
(t *testing.T)
acceptance/fixture_repository_test.go:244
Function
TestRejectExisting
(t *testing.T)
pkg/cmd/auth/shared/gitcredentials/updater_test.go:88
Function
TestReleaseFeatures
(t *testing.T)
internal/featuredetection/feature_detection_test.go:666
Function
TestRemoteGuessing
(t *testing.T)
pkg/cmd/pr/create/create_test.go:2641
Function
TestRemoteTrackingRefString
(t *testing.T)
git/client_test.go:909
Function
TestRemoveCopilot
(t *testing.T)
pkg/cmd/copilot/copilot_test.go:148
Function
TestRemoveExcessiveWhitespace
(t *testing.T)
internal/text/text_test.go:12
Function
TestRemoveRun
(t *testing.T)
pkg/cmd/variable/delete/delete_test.go:89
Function
TestRenameRun
(t *testing.T)
pkg/cmd/gist/rename/rename_test.go:90
Function
TestRenameRun
(t *testing.T)
pkg/cmd/repo/rename/rename_test.go:107
Function
TestRenderJobs
(t *testing.T)
pkg/cmd/run/shared/presentation_test.go:13
Function
TestRenderTableUsesAgentHeader
(t *testing.T)
pkg/cmd/skills/list/list_test.go:491
Function
TestReparsePointClassification
(t *testing.T)
internal/safepaths/link_windows_test.go:17
Function
TestRepoExists
(t *testing.T)
pkg/cmd/extension/http_test.go:41
Function
TestRepoExists
(t *testing.T)
api/queries_repo_test.go:851
Function
TestRepoFork
(t *testing.T)
pkg/cmd/repo/fork/fork_test.go:197
Function
TestRepoKeysHTTPError
(t *testing.T)
pkg/cmd/repo/deploy-key/list/list_test.go:138
Function
TestRepoList_filtering
(t *testing.T)
pkg/cmd/repo/list/list_test.go:469
Function
TestRepoList_invalidOwner
(t *testing.T)
pkg/cmd/repo/list/list_test.go:531
Function
TestRepoList_noVisibilityField
(t *testing.T)
pkg/cmd/repo/list/list_test.go:490
Function
TestRepoList_nontty
(t *testing.T)
pkg/cmd/repo/list/list_test.go:383
Function
TestRepoList_tty
(t *testing.T)
pkg/cmd/repo/list/list_test.go:424
Function
TestRepoNameFromRemote
(t *testing.T)
internal/skills/registry/registry_test.go:289
Function
TestRepoNetworkUnmarshalsDatabaseID
(t *testing.T)
api/queries_repo_test.go:204
Function
TestRepoPartsFromNWO
(t *testing.T)
internal/safeurl/safeurl_test.go:13
Function
TestReposRun
(t *testing.T)
pkg/cmd/search/repos/repos_test.go:151
Function
TestRepositoryCreationIsManaged
(t *testing.T)
acceptance/acceptance_test.go:261
Function
TestRepositoryExportData
(t *testing.T)
pkg/search/result_test.go:97
Function
TestRepositoryFeatures
(t *testing.T)
internal/featuredetection/feature_detection_test.go:270
Function
TestRequestDoesNotDecodeSuccessfulResponses
REST treats 204 and 205 specially and decodes every other 2xx as JSON. Request must do neither, so that bodiless successes and non-JSON successes both
api/request_test.go:141
Function
TestRequestError
(t *testing.T)
api/request_test.go:169
Function
TestRequestErrorPreservesScopesSuggestion
(t *testing.T)
api/request_test.go:186
Function
TestRequestExplicitAuthorizationHeaderIsPreserved
Pre-auth call sites supply their own token because it is not yet in config, so an explicit Authorization header must survive rather than be replaced b
api/request_test.go:104
Function
TestRequestHeaderOverridesTransportDefault
The transport supplies default headers of its own, so a per-request header is only useful if it takes precedence over them.
api/request_test.go:87
Function
TestRequestHeadersAgainstRealTransport
The transport built by NewHTTPClient supplies default Accept, Content-Type and User-Agent headers. Per-request headers are only useful if they win aga
api/request_test.go:349
Function
TestRequestName
(t *testing.T)
script/ghmock/request_test.go:11
Function
TestRequestResolvesPathAgainstHost
(t *testing.T)
api/request_test.go:19
Function
TestRequestReturnsBodyUnread
(t *testing.T)
api/request_test.go:123
Function
TestRequestWithContextPropagatesContext
Call sites such as release asset upload run inside a retry loop that owns a context, so the context has to reach the outgoing request.
api/request_test.go:280
Function
TestRequestWithEndpointScopes
Call sites used to mutate the response with EndpointNeedsScopes before converting it to an error. Request converts internally, so WithEndpointScopes h
api/request_test.go:213
Function
TestRequestWithHeader
(t *testing.T)
api/request_test.go:70
Function
TestRequestableReviewersForCompletion
(t *testing.T)
pkg/cmd/pr/shared/completion_test.go:12
Function
TestRequireNoAmbiguityBaseRepoFunc
(t *testing.T)
pkg/cmd/secret/shared/base_repo_test.go:17
Function
TestRequiresUserCapabilityForScript
(t *testing.T)
acceptance/user_capability_test.go:180
Function
TestRerun
(t *testing.T)
pkg/cmd/run/rerun/rerun_test.go:166
Function
TestResolveCapiURL
(t *testing.T)
pkg/cmd/agent-task/shared/capi_test.go:16
Function
TestResolveCommentNodeID
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:3787
Function
TestResolveFieldByID
(t *testing.T)
pkg/cmd/project/shared/queries/resolve_fields_test.go:75
Function
TestResolveFieldByName
(t *testing.T)
pkg/cmd/project/shared/queries/resolve_fields_test.go:31
Function
TestResolveGitRoot
(t *testing.T)
internal/skills/installer/installer_test.go:488
Function
TestResolveLabels
(t *testing.T)
pkg/cmd/discussion/shared/labels_test.go:11
Function
TestResolveRef
(t *testing.T)
internal/skills/discovery/discovery_test.go:420
Function
TestResolveSingleSelectOptionID
(t *testing.T)
pkg/cmd/project/shared/queries/resolve_test.go:12
Function
TestResolveWorkflowRunIDFallsBackToPolling
(t *testing.T)
acceptance/acceptance_test.go:367
Function
TestResolveWorkflowRunIDUsesDispatchOutput
(t *testing.T)
acceptance/acceptance_test.go:351
Function
TestResolveWorktreeTarget
(t *testing.T)
pkg/cmd/pr/shared/worktree_test.go:14
Function
TestResolveWorktreeTargetPathSafety
(t *testing.T)
pkg/cmd/pr/shared/worktree_test.go:108
Function
TestResultingHelperCategory_detectionErrorWithoutSetup
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:356
Function
TestRetries
(t *testing.T)
internal/codespaces/api/api_test.go:537
Function
TestRetryAfter
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:722
← previous
next →
6,401–6,500 of 7,487, ranked by callers