Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,572 in github.com/cli/cli
⨍
Functions
7,572
◇
Types & classes
1,537
Function
TestUserNotLoggedIn
(t *testing.T)
internal/config/auth_config_test.go:191
Function
TestUserWorksRightAfterMigration
Post migration tests
internal/config/auth_config_test.go:707
Function
TestUsersForHostNoHost
(t *testing.T)
internal/config/auth_config_test.go:621
Function
TestUsersForHostWithUsers
(t *testing.T)
internal/config/auth_config_test.go:632
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:181
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:2955
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:112
Function
TestWatchRun_eventListenHint
(t *testing.T)
pkg/cmd/run/watch/watch_test.go:421
Function
TestWithFreshConfigUnderLockInvokesReloadBeforeFn
(t *testing.T)
internal/config/refreshable_test.go:890
Function
TestWithFreshConfigUnderLockProceedsWhenStateDirCannotBeCreated
(t *testing.T)
internal/config/refreshable_test.go:942
Function
TestWithFreshConfigUnderLockPropagatesError
(t *testing.T)
internal/config/refreshable_test.go:923
Function
TestWithFreshConfigUnderLockPropagatesReloadError
(t *testing.T)
internal/config/refreshable_test.go:908
Function
TestWithFreshConfigUnderLockSerializesInProcess
(t *testing.T)
internal/config/refreshable_test.go:971
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:26
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:35
Function
Test_NewCmdApi_WindowsAbsPath
(t *testing.T)
pkg/cmd/api/api_test.go:416
Function
Test_NewCmdCheck
(t *testing.T)
pkg/cmd/ruleset/check/check_test.go:20
Function
Test_NewCmdCreate
(t *testing.T)
pkg/cmd/release/create/create_test.go:29
Function
Test_NewCmdDelete
(t *testing.T)
pkg/cmd/release/delete/delete_test.go:25
Function
Test_NewCmdDeleteAsset
(t *testing.T)
pkg/cmd/release/delete-asset/delete_asset_test.go:22
Function
Test_NewCmdDiff
(t *testing.T)
pkg/cmd/pr/diff/diff_test.go:24
Function
Test_NewCmdDownload
(t *testing.T)
pkg/cmd/release/download/download_test.go:25
Function
Test_NewCmdDownload
(t *testing.T)
pkg/cmd/run/download/download_test.go:25
Function
Test_NewCmdEdit
(t *testing.T)
pkg/cmd/release/edit/edit_test.go:23
Function
Test_NewCmdList
(t *testing.T)
pkg/cmd/ruleset/list/list_test.go:21
Function
Test_NewCmdList
(t *testing.T)
pkg/cmd/release/list/list_test.go:22
Function
Test_NewCmdList
(t *testing.T)
pkg/cmd/secret/list/list_test.go:29
Function
Test_NewCmdLock
(t *testing.T)
pkg/cmd/issue/lock/lock_test.go:20
Function
Test_NewCmdLogin
(t *testing.T)
pkg/cmd/auth/login/login_test.go:39
Function
Test_NewCmdLogout
(t *testing.T)
pkg/cmd/auth/logout/logout_test.go:32
Function
Test_NewCmdMerge
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:33
Function
Test_NewCmdReadDir
(t *testing.T)
pkg/cmd/repo/read-dir/read_dir_test.go:93
Function
Test_NewCmdReady
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:21
← previous
next →
6,901–7,000 of 7,572, ranked by callers