Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielmiessler/Fabric
/ functions
Functions
1,442 in github.com/danielmiessler/Fabric
⨍
Functions
1,442
◇
Types & classes
227
Function
TestModelsCache_WriteThenReadFresh
(t *testing.T)
internal/plugins/ai/openai/models_cache_test.go:46
Function
TestMultipleExtensionsWithInput
TestMultipleExtensionsWithInput ensures multiple extension calls each using {{input}} get proper substitution.
internal/plugins/template/template_extension_multiple_test.go:11
Function
TestNeedsRawMode
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:575
Function
TestNeedsRawModeInheritsFromParent
(t *testing.T)
internal/plugins/ai/azure/azure_test.go:98
Function
TestNeedsRawModeInheritsFromParent
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:78
Function
TestNestedInputInExtension
TestNestedInputInExtension tests the original bug case: {{ext:name:op:{{input}}}} should pass the actual input, not the sentinel
internal/plugins/template/template_sentinel_test.go:234
Function
TestNewClient
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:183
Function
TestNewClient
--- Client Tests ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:443
Function
TestNewClientInitialization
Test generated using Keploy
internal/plugins/ai/azure/azure_test.go:14
Function
TestNewClientInitialization
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:8
Function
TestNewClient_CreatesAllSetupQuestions
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:19
Function
TestNewClient_DefaultInitialization
Test generated using Keploy
internal/plugins/ai/anthropic/anthropic_test.go:14
Function
TestNewClient_DeferredInit
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:51
Function
TestNewClient_SetupQuestionOrder
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:39
Function
TestNewCustomPatterns
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:12
Function
TestNewNotificationManager
(t *testing.T)
internal/tools/notifications/notifications_test.go:9
Function
TestNewOllamaEngine_APIKeyWiring
(t *testing.T)
internal/server/ollama_test.go:372
Function
TestNewPluginRegistry_CodexTokenPersist
(t *testing.T)
internal/core/plugin_registry_test.go:267
Function
TestNewSpotify
(t *testing.T)
internal/tools/spotify/spotify_test.go:248
Function
TestNewVendorPluginBase
(t *testing.T)
internal/plugins/plugin_test.go:11
Function
TestNewVendorPluginBase_EnvPrefixWithSpaces
(t *testing.T)
internal/plugins/plugin_test.go:40
Function
TestNewVendorPluginBase_NilConfigure
(t *testing.T)
internal/plugins/plugin_test.go:31
Function
TestNewVendorsModels
(t *testing.T)
internal/plugins/ai/models_test.go:10
Function
TestNewYouTubeApiKeyOptional
(t *testing.T)
internal/tools/youtube/youtube_optional_test.go:5
Function
TestNoopProvider
(t *testing.T)
internal/tools/notifications/notifications_test.go:113
Function
TestNormalizeLocale
(t *testing.T)
internal/i18n/locale_test.go:110
Function
TestNormalizeMessages
(t *testing.T)
internal/domain/domain_test.go:10
Function
TestNormalizeSemverLikeVersion
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:190
Function
TestNormalizeToBCP47
(t *testing.T)
internal/i18n/i18n_variants_test.go:9
Function
TestNotificationManagerIsAvailable
(t *testing.T)
internal/tools/notifications/notifications_test.go:19
Function
TestNotificationManagerSend
(t *testing.T)
internal/tools/notifications/notifications_test.go:25
Function
TestNotifySendProvider
(t *testing.T)
internal/tools/notifications/notifications_test.go:74
Function
TestOSAScriptProvider
(t *testing.T)
internal/tools/notifications/notifications_test.go:55
Function
TestOllamaChat_DoesNotFollowUpstreamRedirect
An upstream redirect must show as an upstream error. The client must not go to the redirect target with the API key.
internal/server/ollama_test.go:450
Function
TestOllamaChat_ForwardsAPIKeyToChat
(t *testing.T)
internal/server/ollama_test.go:400
Function
TestOllamaChat_MalformedJSONIs400
Malformed client JSON is a client error. The answer is a 400 with a stable generic message, not a 500.
internal/server/ollama_test.go:484
Function
TestOllamaChat_NoKeyOmitsHeader
With no configured key, the forwarded request must not contain the header.
internal/server/ollama_test.go:531
Function
TestOllamaChat_UpstreamFailureHidesDetails
An upstream that is not available is a 500. The body must not contain the raw transport error, because that error shows the internal upstream URL.
internal/server/ollama_test.go:504
Function
TestPRCommitEmailHandling
(t *testing.T)
cmd/generate_changelog/internal/github/email_test.go:8
Function
TestParseDeployments
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:10
Function
TestParseFileChanges
(t *testing.T)
internal/domain/file_manager_test.go:9
Function
TestParseGeminiThinking
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:337
Function
TestParseOllamaNumCtx
(t *testing.T)
internal/server/ollama_test.go:112
Function
TestParseSeconds
(t *testing.T)
internal/tools/youtube/youtube_test.go:8
Function
TestParseTimestampToSeconds
(t *testing.T)
internal/tools/youtube/timestamp_test.go:7
Function
TestPatternsEntity_CustomPatterns
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:266
Function
TestPatternsEntity_CustomPatternsEmpty
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:460
Function
TestPatternsEntity_RenameRejectsFilePathDestination
Rename must reject a file-path-like destination, the same as Save. The inherited StorageEntity.Rename accepts such a destination.
internal/plugins/db/fsdb/patterns_test.go:210
Function
TestPatternsEntity_Save
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:166
Function
TestPatternsEntity_SaveRejectsFilePathNames
Save must reject a name that loadPattern uses as a filesystem path, and that includes a traversal name. For such a name, GetApplyVariables reads from
internal/plugins/db/fsdb/patterns_test.go:187
Function
TestPatternsEntity_SaveRejectsSymlinkEscape
Save must not write through a symlinked pattern directory or a symlinked pattern file that points outside the storage tree.
internal/plugins/db/fsdb/patterns_test.go:231
Function
TestPatternsHandler_BackendErrorHidesPaths
A pattern backend failure must use the shared storageError mapping. That is a JSON envelope with the generic message, never the wrapped os.PathError.
internal/server/path_traversal_test.go:105
Function
TestPatternsHandler_RejectsPathTraversalSave
(t *testing.T)
internal/server/path_traversal_test.go:136
Function
TestPatternsHandler_RejectsUnsafeNamesOnReadRoutes
(t *testing.T)
internal/server/path_traversal_test.go:202
Function
TestPluginName
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:27
Function
TestPortugueseVariantDistinction
(t *testing.T)
internal/i18n/i18n_variants_test.go:122
Function
TestPortugueseVariantLoading
(t *testing.T)
internal/i18n/i18n_variants_test.go:89
Function
TestPowerShellProvider
(t *testing.T)
internal/tools/notifications/notifications_test.go:93
Function
TestPrintPattern
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:354
Function
TestPrintWithVendorMarksDefault
(t *testing.T)
internal/plugins/ai/models_test.go:38
Function
TestProcessIncomingPRs_FileAggregation
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:138
Function
TestProviderIsAvailable
(t *testing.T)
internal/tools/notifications/notifications_test.go:128
Function
TestPublishersListComplete
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:193
Function
TestReadStdin
(t *testing.T)
internal/cli/flags_test.go:27
Function
TestRecordFirstStreamError_ChannelFull
(t *testing.T)
internal/core/chatter_test.go:138
Function
TestRecordFirstStreamError_NilError
(t *testing.T)
internal/core/chatter_test.go:127
Function
TestRegistryPersistence
(t *testing.T)
internal/plugins/template/extension_registry_test.go:9
Function
TestRequireAPIKeyForBind
A non-loopback bind without an API key must fail closed before the server starts. A loopback bind operates without a key.
internal/server/path_traversal_test.go:256
Function
TestRunOAuthFlowCompletesWithCallback
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:61
Function
TestSaveEnvFile
(t *testing.T)
internal/core/plugin_registry_test.go:24
Function
TestScanDirectory
(t *testing.T)
cmd/code2context/code_test.go:83
Function
TestScanFiles
(t *testing.T)
cmd/code2context/code_test.go:13
Function
TestScanFilesNonExistentFile
(t *testing.T)
cmd/code2context/code_test.go:76
Function
TestScanFilesSkipsDirectories
(t *testing.T)
cmd/code2context/code_test.go:52
Function
TestSendAuthenticationError
--- ISC-C17: Negative Test Cases ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:682
Function
TestSendBedrockIntegration
--- Integration Test: Send with mock HTTP server ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:584
Function
TestSendEndpointsUseBearerTokenWhenConfigured
(t *testing.T)
internal/plugins/ai/lmstudio/lmstudio_test.go:35
Function
TestSendErrorTruncation
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:639
Function
TestSendFallsBackToDeltaWhenCompletedResponseHasNoText
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:443
Function
TestSendIncludesSourcesFromAnnotatedResponse
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:379
Function
TestSendMalformedResponseJSON
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:782
Function
TestSendModelNotFoundError
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:715
Function
TestSendNetworkError
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:755
Function
TestSendNotification_MessageTruncation
(t *testing.T)
internal/cli/chat_test.go:135
Function
TestSendNotification_SecurityEscaping
(t *testing.T)
internal/cli/chat_test.go:11
Function
TestSendNotification_TitleGeneration
(t *testing.T)
internal/cli/chat_test.go:93
Function
TestSendRefreshesAfterUnauthorized
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:264
Function
TestSendResponses_WithWarningIntegration
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:535
Function
TestSendStreamClosesChannelAndMapsHTTPError
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:568
Function
TestSendStreamClosesChannelOnChatError
(t *testing.T)
internal/plugins/ai/ollama/ollama_test.go:68
Function
TestSendStreamFallback
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:875
Function
TestSendStreamReadsCodexSSE
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:498
Function
TestSendStreamWithoutBackendInit
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:837
Function
TestSendStream_NilClient_ReturnsError
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:223
Function
TestSendStream_SendsMessages
Test generated using Keploy
internal/plugins/ai/dryrun/dryrun_test.go:35
Function
TestSendWithSpecialCharacters
(t *testing.T)
internal/tools/notifications/notifications_test.go:157
Function
TestSendWithoutBackendInit
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:812
Function
TestSend_NilClient_ReturnsError
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:235
Function
TestSentinelInVariableProcessing
TestSentinelInVariableProcessing tests that the sentinel token is handled correctly in regular variable processing (not just extensions) Note: The sen
internal/plugins/template/template_sentinel_test.go:150
Function
TestSentinelTokenReplacement
TestSentinelTokenReplacement tests the fix for the {{input}} sentinel token bug This test verifies that when {{input}} is used inside an extension cal
internal/plugins/template/template_sentinel_test.go:76
← previous
next →
1,201–1,300 of 1,442, ranked by callers