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
TestUpdateProjectV2Items
(t *testing.T)
api/queries_projects_v2_test.go:17
Function
TestUpdateReplacesOldCredentials
(t *testing.T)
pkg/cmd/auth/shared/gitcredentials/updater_test.go:65
Function
TestUpdateRun
(t *testing.T)
pkg/cmd/skills/update/update_test.go:313
Function
TestUpload
(t *testing.T)
internal/attachments/client_test.go:63
Function
TestUploadAuthentication
(t *testing.T)
internal/attachments/client_test.go:111
Function
TestUploadDeployKeyHTTPError
(t *testing.T)
pkg/cmd/repo/deploy-key/add/add_test.go:91
Function
TestUploadErrors
(t *testing.T)
internal/attachments/client_test.go:165
Function
TestUploadHostForTenant
(t *testing.T)
internal/attachments/client_test.go:94
Function
TestUploadMissingFile
A file can be removed between the validation that accepted it and the upload that opens it, which is the only way a resolved asset reaches the endpoin
internal/attachments/client_test.go:356
Function
TestUploadTarget
(t *testing.T)
pkg/cmd/issue/artifact/client/client_test.go:83
Function
TestUploaderUploadAndAttach
(t *testing.T)
internal/attachments/attach_test.go:38
Function
TestUploaderUploadAndAttachAbsolutePathReference
(t *testing.T)
internal/attachments/attach_test.go:591
Function
TestUploaderUploadAndAttachDocuments
(t *testing.T)
internal/attachments/attach_test.go:259
Function
TestUploaderUploadAndAttachDoesNotLeakTheAssetURLIntoAnError
(t *testing.T)
internal/attachments/attach_test.go:564
Function
TestUploaderUploadAndAttachNoAssets
(t *testing.T)
internal/attachments/attach_test.go:530
Function
TestUploaderUploadAndAttachUploadsOnceForRepeatedReferences
(t *testing.T)
internal/attachments/attach_test.go:508
Function
TestUserAssetUploadPrefix
(t *testing.T)
internal/ghinstance/host_test.go:161
Function
TestUserKeysHTTPError
(t *testing.T)
pkg/cmd/ssh-key/shared/user_keys_test.go:13
Function
TestUserNotLoggedIn
(t *testing.T)
internal/config/auth_config_test.go:189
Function
TestUserWorksRightAfterMigration
Post migration tests
internal/config/auth_config_test.go:705
Function
TestUsersForHostNoHost
(t *testing.T)
internal/config/auth_config_test.go:619
Function
TestUsersForHostWithUsers
(t *testing.T)
internal/config/auth_config_test.go:630
Function
TestValidAliasExpansionFunc
(t *testing.T)
pkg/cmd/alias/shared/validations_test.go:34
Function
TestValidAliasNameFunc
(t *testing.T)
pkg/cmd/alias/shared/validations_test.go:10
Function
TestValidDigestAlgorithms
(t *testing.T)
pkg/cmd/attestation/artifact/digest/digest_test.go:38
Function
TestValidateChild
(t *testing.T)
internal/safepaths/root_test.go:205
Function
TestValidateFixtureRepositoryDeclaration
(t *testing.T)
acceptance/user_capability_test.go:245
Function
TestValidateName
(t *testing.T)
internal/skills/discovery/discovery_test.go:335
Function
TestValidateRefreshableCredential
(t *testing.T)
internal/config/refreshable_test.go:216
Function
TestValidateSignerWorkflow
(t *testing.T)
pkg/cmd/attestation/verify/policy_test.go:282
Function
TestValidateSupportedHost
(t *testing.T)
internal/skills/source/source_test.go:73
Function
TestVerifyAttestations
(t *testing.T)
pkg/cmd/attestation/verify/attestation_integration_test.go:28
Function
TestVerifyCertExtensions
(t *testing.T)
pkg/cmd/attestation/verification/extensions_test.go:26
Function
TestVerifyCmdAuthChecks
(t *testing.T)
pkg/cmd/attestation/verify/verify_test.go:320
Function
TestVerifyIntegration
(t *testing.T)
pkg/cmd/attestation/verify/verify_integration_test.go:24
Function
TestVerifyIntegrationCustomIssuer
(t *testing.T)
pkg/cmd/attestation/verify/verify_integration_test.go:141
Function
TestVerifyIntegrationReusableWorkflow
(t *testing.T)
pkg/cmd/attestation/verify/verify_integration_test.go:218
Function
TestVerifyIntegrationReusableWorkflowSignerWorkflow
(t *testing.T)
pkg/cmd/attestation/verify/verify_integration_test.go:315
Function
TestViewJSONFields
(t *testing.T)
pkg/cmd/issue/artifact/view/view_test.go:22
Function
TestViewRun
(t *testing.T)
pkg/cmd/discussion/view/view_test.go:285
Function
TestViewRun
(t *testing.T)
pkg/cmd/issue/artifact/view/view_test.go:269
Function
TestViewRun
(t *testing.T)
pkg/cmd/repo/license/view/view_test.go:82
Function
TestViewRun
(t *testing.T)
pkg/cmd/repo/autolink/view/view_test.go:114
Function
TestViewRun
(t *testing.T)
pkg/cmd/repo/gitignore/view/view_test.go:18
Function
TestViewRun
(t *testing.T)
pkg/cmd/run/view/view_test.go:178
Function
TestViewRun
(t *testing.T)
pkg/cmd/event/subscription/view/view_test.go:95
Function
TestViewRun
(t *testing.T)
pkg/cmd/workflow/view/view_test.go:165
Function
TestViewRun_eventListenHint
(t *testing.T)
pkg/cmd/run/view/view_test.go:2860
Function
TestWaitForRepositoryReady
(t *testing.T)
acceptance/acceptance_test.go:484
Function
TestWaitForRepositoryReadyReturnsUnexpectedError
(t *testing.T)
acceptance/acceptance_test.go:522
Function
TestWaitForRepositoryReadyTimesOut
(t *testing.T)
acceptance/acceptance_test.go:503
Function
TestWaitForWorkflow
(t *testing.T)
acceptance/acceptance_test.go:444
Function
TestWaitForWorkflowRun
(t *testing.T)
acceptance/acceptance_test.go:269
Function
TestWaitForWorkflowRunStatus
(t *testing.T)
acceptance/acceptance_test.go:537
Function
TestWaitForWorkflowRunStatusStopsWhenRunCompletes
(t *testing.T)
acceptance/acceptance_test.go:556
Function
TestWaitForWorkflowRunStatusTimesOut
(t *testing.T)
acceptance/acceptance_test.go:571
Function
TestWaitForWorkflowTimesOut
(t *testing.T)
acceptance/acceptance_test.go:465
Function
TestWaitUntilCodespaceConnectionReady_PollsApi
(t *testing.T)
internal/codespaces/codespaces_test.go:84
Function
TestWaitUntilCodespaceConnectionReady_PollsCodespaceUntilReady
(t *testing.T)
internal/codespaces/codespaces_test.go:125
Function
TestWaitUntilCodespaceConnectionReady_StartsCodespace
(t *testing.T)
internal/codespaces/codespaces_test.go:102
Function
TestWaitUntilCodespaceConnectionReady_WaitsForShutdownBeforeStarting
(t *testing.T)
internal/codespaces/codespaces_test.go:155
Function
TestWaitUntilCodespaceConnectionReady_WhenAlreadyReady
(t *testing.T)
internal/codespaces/codespaces_test.go:71
Function
TestWatchRun
(t *testing.T)
pkg/cmd/run/watch/watch_test.go:111
Function
TestWatchRun_eventListenHint
(t *testing.T)
pkg/cmd/run/watch/watch_test.go:420
Function
TestWithFreshConfigUnderLockInvokesReloadBeforeFn
(t *testing.T)
internal/config/refreshable_test.go:729
Function
TestWithFreshConfigUnderLockProceedsWhenStateDirCannotBeCreated
(t *testing.T)
internal/config/refreshable_test.go:781
Function
TestWithFreshConfigUnderLockPropagatesError
(t *testing.T)
internal/config/refreshable_test.go:762
Function
TestWithFreshConfigUnderLockPropagatesReloadError
(t *testing.T)
internal/config/refreshable_test.go:747
Function
TestWithFreshConfigUnderLockSerializesInProcess
(t *testing.T)
internal/config/refreshable_test.go:810
Function
TestWithPrAndIssueQueryParamsProjectsV1Deprecation
TODO projectsV1Deprecation Remove this test.
pkg/cmd/pr/shared/params_test.go:489
Function
TestWithRepoDirInsertsRepositoryBeforeGitArguments
(t *testing.T)
git/command_test.go:66
Function
TestWithRepoDirReplacesExistingRepository
(t *testing.T)
git/command_test.go:77
Function
TestWithoutFollowingRedirects
TestWithoutFollowingRedirects verifies that WithoutFollowingRedirects stops the request at the redirect and surfaces an HTTPError rather than followin
api/client_test.go:366
Function
TestWorkflowRunIDFromOutput
(t *testing.T)
acceptance/acceptance_test.go:314
Function
TestWorktreeCheckoutCommands
(t *testing.T)
pkg/cmd/pr/shared/worktree_test.go:174
Function
TestWorktreeForBranchRejectsNonMatchingBranch
(t *testing.T)
git/client_test.go:2000
Function
TestWorktreeForBranchReturnsExactMatch
(t *testing.T)
git/client_test.go:1986
Function
TestWrite
(t *testing.T)
pkg/jsoncolor/jsoncolor_test.go:11
Function
TestWriteHelp_aliasResolution
(t *testing.T)
pkg/cmd/root/help_test.go:128
Function
TestZipLogFetcher
(t *testing.T)
pkg/cmd/run/view/logs_test.go:18
Function
Test_ArchiveRun
(t *testing.T)
pkg/cmd/repo/archive/archive_test.go:68
Function
Test_BaseRepo
(t *testing.T)
pkg/cmd/factory/default_test.go:23
Function
Test_CheckAuth
(t *testing.T)
pkg/cmdutil/auth_check_test.go:12
Function
Test_Download
(t *testing.T)
pkg/cmd/run/download/http_test.go:63
Function
Test_EnableRepoOverride_authCheckIntegration
Test_EnableRepoOverride_authCheckIntegration is an integration test for the coupling between repo override and the root auth gate, wired through cobra
pkg/cmdutil/repo_override_test.go:20
Function
Test_FilterByHosts
(t *testing.T)
context/remote_test.go:130
Function
Test_GetGistIDFromURL
(t *testing.T)
pkg/cmd/gist/shared/shared_test.go:16
Function
Test_GhEditor_Prompt_editorAppend
(t *testing.T)
pkg/surveyext/editor_test.go:88
Function
Test_GhEditor_Prompt_editorTruncate
(t *testing.T)
pkg/surveyext/editor_test.go:119
Function
Test_GhEditor_Prompt_skip
(t *testing.T)
pkg/surveyext/editor_test.go:55
Function
Test_GistClone
(t *testing.T)
pkg/cmd/gist/clone/clone_test.go:57
Function
Test_GistClone_flagError
(t *testing.T)
pkg/cmd/gist/clone/clone_test.go:116
Function
Test_HasMinimumScopes
(t *testing.T)
pkg/cmd/auth/shared/oauth_scopes_test.go:13
Function
Test_HeaderHasMinimumScopes
(t *testing.T)
pkg/cmd/auth/shared/oauth_scopes_test.go:60
Function
Test_IsAuthCheckEnabled
(t *testing.T)
pkg/cmdutil/auth_check_test.go:59
Function
Test_List
(t *testing.T)
pkg/cmd/run/download/http_test.go:21
Function
Test_ListPullRequests
(t *testing.T)
pkg/cmd/pr/list/http_test.go:15
Function
Test_List_perRepository
(t *testing.T)
pkg/cmd/run/download/http_test.go:47
Function
Test_Logins
(t *testing.T)
api/queries_pr_test.go:62
Function
Test_NewCmdApi
(t *testing.T)
pkg/cmd/api/api_test.go:34
← previous
next →
6,801–6,900 of 7,487, ranked by callers