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
TestAdvancedIssueSearchString
(t *testing.T)
pkg/search/query_test.go:110
Function
TestAdvancedIssueSearchSupport
(t *testing.T)
internal/featuredetection/feature_detection_test.go:446
Function
TestAliasAreSet
(t *testing.T)
pkg/cmd/agent-task/agent_task_test.go:155
Function
TestAliasList
(t *testing.T)
pkg/cmd/alias/list/list_test.go:17
Function
TestAlreadyRebuildingCodespace
(t *testing.T)
pkg/cmd/codespace/rebuild_test.go:11
Function
TestApiActorsSupported
(t *testing.T)
pkg/cmd/issue/edit/edit_test.go:2126
Function
TestApiLogFetcher
(t *testing.T)
pkg/cmd/run/view/logs_test.go:37
Function
TestApp_Create
(t *testing.T)
pkg/cmd/codespace/create_test.go:64
Function
TestApp_List
(t *testing.T)
pkg/cmd/codespace/list_test.go:71
Function
TestApp_Select
(t *testing.T)
pkg/cmd/codespace/select_test.go:16
Function
TestApp_StopCodespace
(t *testing.T)
pkg/cmd/codespace/stop_test.go:13
Function
TestApp_VSCode
(t *testing.T)
pkg/cmd/codespace/code_test.go:12
Function
TestAppendParagraph
(t *testing.T)
internal/attachments/attach_test.go:542
Function
TestApplySet
(t *testing.T)
script/ghmock/set_test.go:189
Function
TestAreFlagsValid
(t *testing.T)
pkg/cmd/attestation/verify/options_test.go:25
Function
TestAreFlagsValid
(t *testing.T)
pkg/cmd/attestation/download/options_test.go:10
Function
TestArtifactDigestWithAlgorithm
(t *testing.T)
pkg/cmd/attestation/artifact/digest/digest_test.go:11
Function
TestArtifactExportData
(t *testing.T)
pkg/cmd/issue/artifact/client/types_test.go:12
Function
TestArtifactWithVersionsExportData
(t *testing.T)
pkg/cmd/issue/artifact/client/types_test.go:90
Function
TestAssetMarkdown
(t *testing.T)
internal/attachments/userasset_test.go:271
Function
TestAssetRendersAsPlayer
(t *testing.T)
internal/attachments/userasset_test.go:333
Function
TestAttachAssetsToMarkdown
(t *testing.T)
internal/attachments/references_test.go:25
Function
TestAttachAssetsToMarkdownFixture
One markdown document covering every syntax this package handles, so the behaviour can be read as markdown rather than as Go string literals. Run wit
internal/attachments/references_fixture_test.go:47
Function
TestAttachmentTelemetry
(t *testing.T)
internal/attachments/flags_test.go:100
Function
TestAuthFeatures
(t *testing.T)
internal/featuredetection/feature_detection_test.go:779
Function
TestAuthResultFromToken
(t *testing.T)
internal/authflow/refresh_test.go:129
Function
TestAuthTelemetryEvent_nilIsNoOp
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:89
Function
TestAuthTelemetryEvent_recordGitProtocolUnset
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:73
Function
TestAuthTelemetryEvent_recordStorageKeyring
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:81
Function
TestAuthTelemetryEvent_records
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:49
Function
TestAuthenticatingGitCredentials
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:574
Function
TestAutolinkCreator_Create
(t *testing.T)
pkg/cmd/repo/autolink/create/http_test.go:17
Function
TestAutolinkDeleter_Delete
(t *testing.T)
pkg/cmd/repo/autolink/delete/http_test.go:16
Function
TestAutolinkLister_List
(t *testing.T)
pkg/cmd/repo/autolink/list/http_test.go:16
Function
TestAutolinkViewer_View
(t *testing.T)
pkg/cmd/repo/autolink/view/http_test.go:16
Function
TestBaseRepoQuerySelections
TestBaseRepoQuerySelections guards fields that must be explicitly requested. A field left out of a query is silently zero rather than an error, so the
api/queries_repo_test.go:146
Function
TestBeginAuthTelemetry_gating
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:13
Function
TestBinaryContentType
(t *testing.T)
pkg/iostreams/content_test.go:14
Function
TestBranchDeleteRemote
(t *testing.T)
api/queries_pr_test.go:15
Function
TestBrowseModelClearsTransientStatusOnNextInteraction
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:617
Function
TestBrowseModelDoesNotQuitWhileInstallIsRunning
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:709
Function
TestBrowseModelDoesNotReloadReadmeWhenFilteringKeepsSelection
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:267
Function
TestBrowseModelDoesNotStartDuplicateInstall
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:686
Function
TestBrowseModelFiltersExtensions
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:199
Function
TestBrowseModelFiltersExtensionsByDisplayedStatus
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:220
Function
TestBrowseModelForwardsCursorMessagesWhileFiltering
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:641
Function
TestBrowseModelIgnoresStaleReadmeResult
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:401
Function
TestBrowseModelInstallsSelectedExtension
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:656
Function
TestBrowseModelKeepsDescriptionsReadableWithColorEnabled
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:178
Function
TestBrowseModelKeepsExtensionInstalledWhenRemovalFails
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:852
Function
TestBrowseModelKeepsExtensionUninstalledWhenInstallationFails
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:786
Function
TestBrowseModelKeepsFooterWithinTerminalWidth
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:126
Function
TestBrowseModelKeepsMainViewWithinTerminalHeight
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:75
Function
TestBrowseModelLoadsReadmeForFilteredSelection
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:300
Function
TestBrowseModelMovesSelectionDown
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:19
Function
TestBrowseModelMovesSelectionDownOnePage
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:39
Function
TestBrowseModelOpensReadmeFromSingleColumn
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:546
Function
TestBrowseModelPreservesActionResultWhenLeavingHelp
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:731
Function
TestBrowseModelPreviewsSelectedReadme
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:374
Function
TestBrowseModelProvidesVisualHierarchyInWideLayout
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:142
Function
TestBrowseModelQuitsOnControlCWhileFiltering
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:59
Function
TestBrowseModelRemovesSelectedExtension
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:755
Function
TestBrowseModelRendersFullScreenReadmeWithinTerminalWidth
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:461
Function
TestBrowseModelRerendersReadmeLoadedDuringResize
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:434
Function
TestBrowseModelRestoresPreviewWidthAfterClosingFullScreenReadme
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:487
Function
TestBrowseModelShowsBrowserFailure
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:593
Function
TestBrowseModelShowsCompleteMultilineInstallationError
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:810
Function
TestBrowseModelShowsKeyboardHelp
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:336
Function
TestBrowseModelShowsKeyboardHelpForShiftedQuestionMark
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:360
Function
TestBrowseModelShowsReadmeFailure
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:572
Function
TestBrowseModelUsesCompactFallbackInVeryShortTerminal
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:108
Function
TestBrowseModelUsesSingleColumnInNarrowTerminal
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:519
Function
TestBuildDisplayName
(t *testing.T)
pkg/cmd/codespace/create_test.go:674
Function
TestBuildRepoURL
(t *testing.T)
internal/skills/source/source_test.go:10
Function
TestCAPITransportResolvesFreshTokenPerRequest
(t *testing.T)
pkg/cmd/agent-task/capi/client_test.go:37
Function
TestCAPITransportUsesLastTokenWhenRefreshErrors
(t *testing.T)
pkg/cmd/agent-task/capi/client_test.go:58
Function
TestCache_ExportData
(t *testing.T)
pkg/cmd/cache/shared/shared_test.go:76
Function
TestCamelCase
(t *testing.T)
pkg/cmd/project/shared/queries/queries_test.go:677
Function
TestCamelToKebab
(t *testing.T)
pkg/search/query_test.go:329
Function
TestCapiClientFuncResolvesURL
(t *testing.T)
pkg/cmd/agent-task/shared/capi_test.go:64
Function
TestCategorizeHost
(t *testing.T)
internal/ghinstance/host_test.go:186
Function
TestCertAuthority
(t *testing.T)
script/ghmock/tls_test.go:12
Function
TestChangelogURL
(t *testing.T)
pkg/cmd/version/version_test.go:21
Function
TestCheckForExtensionUpdate
(t *testing.T)
internal/update/update_test.go:125
Function
TestCheckForUpdate
(t *testing.T)
internal/update/update_test.go:19
Function
TestCheckHost
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:643
Function
TestCheckHost
(t *testing.T)
internal/attachments/client_test.go:492
Function
TestCheckIssue
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:677
Function
TestCheckRequest
(t *testing.T)
script/ghmock/checker_test.go:13
Function
TestCheckType
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:875
Function
TestCheckUploadTarget
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:726
Function
TestChecksRun_web
(t *testing.T)
pkg/cmd/pr/checks/checks_test.go:619
Function
TestChecksStatus_NoCheckRunsOrStatusContexts
(t *testing.T)
api/pull_request_test.go:11
Function
TestChecksStatus_SummarisingCheckRunAndStatusContextCountsByState
(t *testing.T)
api/pull_request_test.go:228
Function
TestChecksStatus_SummarisingCheckRuns
(t *testing.T)
api/pull_request_test.go:29
Function
TestChecksStatus_SummarisingCheckRunsAndStatusContexts
(t *testing.T)
api/pull_request_test.go:193
Function
TestChecksStatus_SummarisingStatusContexts
(t *testing.T)
api/pull_request_test.go:141
Function
TestChooseVerifierUnrecognizedIssuer
TestChooseVerifierUnrecognizedIssuer tests that an error is returned for unrecognized issuers.
pkg/cmd/attestation/verification/sigstore_test.go:46
Function
TestChooseVerifierWithNilGitHub
(t *testing.T)
pkg/cmd/attestation/verification/sigstore_test.go:30
Function
TestChooseVerifierWithNilPublicGood
Note: Tests that require network access and TUF client initialization are in sigstore_integration_test.go with the //go:build integration tag. These u
pkg/cmd/attestation/verification/sigstore_test.go:16
← previous
next →
5,201–5,300 of 7,572, ranked by callers