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
TestRunSendTelemetryServerError
(t *testing.T)
pkg/cmd/send-telemetry/send_telemetry_test.go:208
Function
TestRunUnlink_Repo
(t *testing.T)
pkg/cmd/project/unlink/unlink_test.go:186
Function
TestRunUnlink_Team
(t *testing.T)
pkg/cmd/project/unlink/unlink_test.go:296
Function
TestRunUnmarkTemplate_Org
(t *testing.T)
pkg/cmd/project/mark-template/mark_template_test.go:184
Function
TestRunUpdate_JSON
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:513
Function
TestRunUpdate_Me
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:330
Function
TestRunUpdate_OmitParams
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:418
Function
TestRunUpdate_Org
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:232
Function
TestRunUpdate_User
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:133
Function
TestRunVerify
(t *testing.T)
pkg/cmd/attestation/verify/verify_test.go:373
Function
TestRunViewWeb_Me
(t *testing.T)
pkg/cmd/project/view/view_test.go:457
Function
TestRunViewWeb_Org
(t *testing.T)
pkg/cmd/project/view/view_test.go:379
Function
TestRunViewWeb_TTY
(t *testing.T)
pkg/cmd/project/view/view_test.go:532
Function
TestRunViewWeb_User
(t *testing.T)
pkg/cmd/project/view/view_test.go:301
Function
TestRunView_Org
(t *testing.T)
pkg/cmd/project/view/view_test.go:229
Function
TestRunView_User
(t *testing.T)
pkg/cmd/project/view/view_test.go:94
Function
TestRunView_Viewer
(t *testing.T)
pkg/cmd/project/view/view_test.go:166
Function
TestRun_Duration
(t *testing.T)
pkg/cmd/run/shared/shared_test.go:61
Function
TestSSHKeyUploadHTTPError
(t *testing.T)
pkg/cmd/ssh-key/add/add_test.go:156
Function
TestSSOURL
(t *testing.T)
pkg/cmd/factory/default_test.go:331
Function
TestSandboxFilePath
(t *testing.T)
acceptance/acceptance_test.go:247
Function
TestScanAllAgentsDeduplicatesSharedProjectDirs
(t *testing.T)
pkg/cmd/skills/update/update_test.go:297
Function
TestScanInstalledSkills
(t *testing.T)
pkg/cmd/skills/update/update_test.go:75
Function
TestSchemaSourceLocate
(t *testing.T)
script/ghmock/schemafiles_test.go:58
Function
TestScopeLabels
(t *testing.T)
internal/skills/registry/registry_test.go:343
Function
TestSearch
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:557
Function
TestSearchIssues
(t *testing.T)
pkg/cmd/search/shared/shared_test.go:31
Function
TestSearchIssuesAndAdvancedSearch
TODO advancedIssueSearchCleanup Remove this test once GHES 3.17 support ends.
pkg/cmd/issue/list/http_test.go:172
Function
TestSearchIssues_rejectsPullRequestQualifiers
(t *testing.T)
pkg/cmd/issue/list/http_test.go:218
Function
TestSearchPullRequestsAndAdvancedSearch
TODO advancedIssueSearchCleanup Remove this test once GHES 3.17 support ends.
pkg/cmd/pr/list/http_test.go:182
Function
TestSearchRun
(t *testing.T)
pkg/cmd/skills/search/search_test.go:137
Function
TestSearchRun_TelemetryRecordsInstallFromResults
TestSearchRun_TelemetryRecordsInstallFromResults verifies that when a user searches, picks one or more results interactively, and proceeds to install
pkg/cmd/skills/search/search_test.go:654
Function
TestSearchRun_UnsupportedHost
(t *testing.T)
pkg/cmd/skills/search/search_test.go:21
Function
TestSearcher
(t *testing.T)
pkg/cmd/search/shared/shared_test.go:18
Function
TestSearcherCode
(t *testing.T)
pkg/search/searcher_test.go:17
Function
TestSearcherCommits
(t *testing.T)
pkg/search/searcher_test.go:282
Function
TestSearcherIssues
(t *testing.T)
pkg/search/searcher_test.go:854
Function
TestSearcherIssuesAdvancedSyntax
(t *testing.T)
pkg/search/searcher_test.go:1140
Function
TestSearcherIssuesSemanticSearch
(t *testing.T)
pkg/search/searcher_test.go:1222
Function
TestSearcherIssuesSemanticSearchIsBoundedToSinglePage
(t *testing.T)
pkg/search/searcher_test.go:1294
Function
TestSearcherRepositories
(t *testing.T)
pkg/search/searcher_test.go:568
Function
TestSearcherURL
(t *testing.T)
pkg/search/searcher_test.go:1329
Function
TestSelectAcceptanceTestGroups
(t *testing.T)
acceptance/acceptance_test.go:690
Function
TestSelectNameWithCodespaceName
(t *testing.T)
pkg/cmd/codespace/codespace_selector_test.go:33
Function
TestSelectSSHKeys
(t *testing.T)
pkg/cmd/codespace/ssh_test.go:121
Function
TestSelectScripts
TestSelectScripts exercises the real selectScripts function, verifying that it correctly matches files in the command directory, skips names belonging
acceptance/scriptfilter_unit_test.go:61
Function
TestSelectWithCodespaceName
(t *testing.T)
pkg/cmd/codespace/codespace_selector_test.go:11
Function
TestSerialize
(t *testing.T)
internal/skills/frontmatter/frontmatter_test.go:210
Function
TestServiceCollectsConcurrentFacts
(t *testing.T)
internal/telemetry/service_test.go:128
Function
TestServiceCopiesRecordedEvents
(t *testing.T)
internal/telemetry/service_test.go:13
Function
TestServiceDeviceIDFallback
(t *testing.T)
internal/telemetry/telemetry_test.go:350
Function
TestServiceDisabledBeforeRecordingDropsLaterEvents
(t *testing.T)
internal/telemetry/telemetry_test.go:505
Function
TestServiceDisablingOverridesPromotedPendingEvents
(t *testing.T)
internal/telemetry/service_test.go:55
Function
TestServiceFinish
(t *testing.T)
internal/telemetry/telemetry_test.go:365
Function
TestServiceFinishDeliversOnce
(t *testing.T)
internal/telemetry/service_test.go:76
Function
TestServicePromotesAllEventsBeforeCompletion
(t *testing.T)
internal/telemetry/service_test.go:37
Function
TestServiceRecordingDoesNotWaitForDelivery
(t *testing.T)
internal/telemetry/service_test.go:92
Function
TestServiceReducingSampleRateExcludesInvocation
(t *testing.T)
internal/telemetry/telemetry_test.go:489
Function
TestServiceSampling
(t *testing.T)
internal/telemetry/telemetry_test.go:432
Function
TestSetActiveCredential
(t *testing.T)
internal/config/refreshable_test.go:250
Function
TestSetHostSpecificKey
(t *testing.T)
internal/config/config_test.go:157
Function
TestSetRun
(t *testing.T)
pkg/cmd/alias/set/set_test.go:98
Function
TestSetTopLevelKey
(t *testing.T)
internal/config/config_test.go:148
Function
TestSetUserSpecificKey
(t *testing.T)
internal/config/config_test.go:166
Function
TestSetUserSpecificKeyNoUserPresent
(t *testing.T)
internal/config/config_test.go:179
Function
TestSetsCorrectCommandInGitConfig
This is a whitebox test unlike the contract because although we don't use the exact configured command, it's important that it is exactly right since
pkg/cmd/auth/shared/gitcredentials/helper_config_test.go:42
Function
TestSetup_configureExisting
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:33
Function
TestSetup_expiring_externalHelper_configuresOurs
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:302
Function
TestSetup_refreshableExternalHelper_acceptGh
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:84
Function
TestSetup_refreshableExternalHelper_declineGh
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:51
Function
TestSetup_setOurs_nonGH
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:167
Function
TestShortRef
(t *testing.T)
internal/skills/discovery/discovery_test.go:401
Function
TestShortSHA
(t *testing.T)
git/client_test.go:1863
Function
TestShortcutURL
(t *testing.T)
pkg/cmd/issue/artifact/shared/content_test.go:236
Function
TestShouldCheckForExtensionUpdate
(t *testing.T)
internal/update/update_test.go:428
Function
TestShouldCheckForUpdate
(t *testing.T)
internal/update/update_test.go:371
Function
TestShouldCopyToClipboard
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:61
Function
TestShouldUseExpiring
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:102
Function
TestSignerWorkflowSANMatching
TestSignerWorkflowSANMatching drives the pattern built by validateSignerWorkflow through the sigstore-go matcher that consumes it, because that matche
pkg/cmd/attestation/verify/policy_test.go:343
Function
TestSignerWorkflowSANMatchingObservedCertificate
TestSignerWorkflowSANMatchingObservedCertificate uses the SubjectAlternativeName from a certificate Fulcio actually issued for a workflow stored at .g
pkg/cmd/attestation/verify/policy_test.go:422
Function
TestSignerWorkflowSANMatchingObservedNestedRef
TestSignerWorkflowSANMatchingObservedNestedRef uses the job_workflow_ref claim observed from a workflow run on a branch named "main@refs/heads/evil".
pkg/cmd/attestation/verify/policy_test.go:495
Function
TestSignerWorkflowSANMatchingPinnedRef
TestSignerWorkflowSANMatchingPinnedRef covers a --signer-workflow value that pins a ref as well as a workflow. Such a value has to match the end of th
pkg/cmd/attestation/verify/policy_test.go:438
Function
TestSignerWorkflowSANMatchingRepositoryValue
TestSignerWorkflowSANMatchingRepositoryValue covers a --signer-workflow value that names a repository instead of a workflow. The value is still matche
pkg/cmd/attestation/verify/policy_test.go:510
Function
TestSimplifyURL
(t *testing.T)
pkg/cmd/repo/clone/clone_test.go:512
Function
TestSingleLineFieldValue
(t *testing.T)
pkg/cmd/project/shared/queries/queries_test.go:851
Function
TestSkillCommandsAreSampledAt100
(t *testing.T)
pkg/cmd/skills/skills_test.go:13
Function
TestSkillSearchFuncEscapesDescriptionControlCharacters
(t *testing.T)
pkg/cmd/skills/install/install_test.go:3087
Function
TestSkillSearchFuncTruncatesLabelsToAvailableWidth
(t *testing.T)
pkg/cmd/skills/install/install_test.go:2660
Function
TestSomeExpect
(t *testing.T)
pkg/option/option_test.go:183
Function
TestSomeStringer
(t *testing.T)
pkg/option/option_test.go:115
Function
TestSomeUnwrap
(t *testing.T)
pkg/option/option_test.go:124
Function
TestSomeUnwrapOr
(t *testing.T)
pkg/option/option_test.go:137
Function
TestSomeUnwrapOrElse
(t *testing.T)
pkg/option/option_test.go:145
Function
TestSomeUnwrapOrZero
(t *testing.T)
pkg/option/option_test.go:153
Function
TestSomeValue
(t *testing.T)
pkg/option/option_test.go:171
Function
TestSpawnSendTelemetryRejectsOversizedPayload
(t *testing.T)
internal/telemetry/telemetry_test.go:535
Function
TestSpecificPRResolver
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:758
Function
TestSplitFileArg
(t *testing.T)
internal/attachments/flags_test.go:399
Function
TestStandardSearchString
(t *testing.T)
pkg/search/query_test.go:11
Function
TestStartJupyterServerFailure
Test that the RPC invoker returns an error when the JupyterLab server fails to start
internal/codespaces/rpc/invoker_test.go:141
← previous
next →
6,701–6,800 of 7,572, ranked by callers