MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,442 in github.com/danielmiessler/Fabric

FunctionTestModelsCache_WriteThenReadFresh
(t *testing.T)
internal/plugins/ai/openai/models_cache_test.go:46
FunctionTestMultipleExtensionsWithInput
TestMultipleExtensionsWithInput ensures multiple extension calls each using {{input}} get proper substitution.
internal/plugins/template/template_extension_multiple_test.go:11
FunctionTestNeedsRawMode
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:575
FunctionTestNeedsRawModeInheritsFromParent
(t *testing.T)
internal/plugins/ai/azure/azure_test.go:98
FunctionTestNeedsRawModeInheritsFromParent
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:78
FunctionTestNestedInputInExtension
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
FunctionTestNewClient
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:183
FunctionTestNewClient
--- Client Tests ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:443
FunctionTestNewClientInitialization
Test generated using Keploy
internal/plugins/ai/azure/azure_test.go:14
FunctionTestNewClientInitialization
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:8
FunctionTestNewClient_CreatesAllSetupQuestions
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:19
FunctionTestNewClient_DefaultInitialization
Test generated using Keploy
internal/plugins/ai/anthropic/anthropic_test.go:14
FunctionTestNewClient_DeferredInit
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:51
FunctionTestNewClient_SetupQuestionOrder
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:39
FunctionTestNewCustomPatterns
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:12
FunctionTestNewNotificationManager
(t *testing.T)
internal/tools/notifications/notifications_test.go:9
FunctionTestNewOllamaEngine_APIKeyWiring
(t *testing.T)
internal/server/ollama_test.go:372
FunctionTestNewPluginRegistry_CodexTokenPersist
(t *testing.T)
internal/core/plugin_registry_test.go:267
FunctionTestNewSpotify
(t *testing.T)
internal/tools/spotify/spotify_test.go:248
FunctionTestNewVendorPluginBase
(t *testing.T)
internal/plugins/plugin_test.go:11
FunctionTestNewVendorPluginBase_EnvPrefixWithSpaces
(t *testing.T)
internal/plugins/plugin_test.go:40
FunctionTestNewVendorPluginBase_NilConfigure
(t *testing.T)
internal/plugins/plugin_test.go:31
FunctionTestNewVendorsModels
(t *testing.T)
internal/plugins/ai/models_test.go:10
FunctionTestNewYouTubeApiKeyOptional
(t *testing.T)
internal/tools/youtube/youtube_optional_test.go:5
FunctionTestNoopProvider
(t *testing.T)
internal/tools/notifications/notifications_test.go:113
FunctionTestNormalizeLocale
(t *testing.T)
internal/i18n/locale_test.go:110
FunctionTestNormalizeMessages
(t *testing.T)
internal/domain/domain_test.go:10
FunctionTestNormalizeSemverLikeVersion
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:190
FunctionTestNormalizeToBCP47
(t *testing.T)
internal/i18n/i18n_variants_test.go:9
FunctionTestNotificationManagerIsAvailable
(t *testing.T)
internal/tools/notifications/notifications_test.go:19
FunctionTestNotificationManagerSend
(t *testing.T)
internal/tools/notifications/notifications_test.go:25
FunctionTestNotifySendProvider
(t *testing.T)
internal/tools/notifications/notifications_test.go:74
FunctionTestOSAScriptProvider
(t *testing.T)
internal/tools/notifications/notifications_test.go:55
FunctionTestOllamaChat_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
FunctionTestOllamaChat_ForwardsAPIKeyToChat
(t *testing.T)
internal/server/ollama_test.go:400
FunctionTestOllamaChat_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
FunctionTestOllamaChat_NoKeyOmitsHeader
With no configured key, the forwarded request must not contain the header.
internal/server/ollama_test.go:531
FunctionTestOllamaChat_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
FunctionTestPRCommitEmailHandling
(t *testing.T)
cmd/generate_changelog/internal/github/email_test.go:8
FunctionTestParseDeployments
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:10
FunctionTestParseFileChanges
(t *testing.T)
internal/domain/file_manager_test.go:9
FunctionTestParseGeminiThinking
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:337
FunctionTestParseOllamaNumCtx
(t *testing.T)
internal/server/ollama_test.go:112
FunctionTestParseSeconds
(t *testing.T)
internal/tools/youtube/youtube_test.go:8
FunctionTestParseTimestampToSeconds
(t *testing.T)
internal/tools/youtube/timestamp_test.go:7
FunctionTestPatternsEntity_CustomPatterns
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:266
FunctionTestPatternsEntity_CustomPatternsEmpty
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:460
FunctionTestPatternsEntity_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
FunctionTestPatternsEntity_Save
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:166
FunctionTestPatternsEntity_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
FunctionTestPatternsEntity_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
FunctionTestPatternsHandler_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
FunctionTestPatternsHandler_RejectsPathTraversalSave
(t *testing.T)
internal/server/path_traversal_test.go:136
FunctionTestPatternsHandler_RejectsUnsafeNamesOnReadRoutes
(t *testing.T)
internal/server/path_traversal_test.go:202
FunctionTestPluginName
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:27
FunctionTestPortugueseVariantDistinction
(t *testing.T)
internal/i18n/i18n_variants_test.go:122
FunctionTestPortugueseVariantLoading
(t *testing.T)
internal/i18n/i18n_variants_test.go:89
FunctionTestPowerShellProvider
(t *testing.T)
internal/tools/notifications/notifications_test.go:93
FunctionTestPrintPattern
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:354
FunctionTestPrintWithVendorMarksDefault
(t *testing.T)
internal/plugins/ai/models_test.go:38
FunctionTestProcessIncomingPRs_FileAggregation
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:138
FunctionTestProviderIsAvailable
(t *testing.T)
internal/tools/notifications/notifications_test.go:128
FunctionTestPublishersListComplete
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:193
FunctionTestReadStdin
(t *testing.T)
internal/cli/flags_test.go:27
FunctionTestRecordFirstStreamError_ChannelFull
(t *testing.T)
internal/core/chatter_test.go:138
FunctionTestRecordFirstStreamError_NilError
(t *testing.T)
internal/core/chatter_test.go:127
FunctionTestRegistryPersistence
(t *testing.T)
internal/plugins/template/extension_registry_test.go:9
FunctionTestRequireAPIKeyForBind
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
FunctionTestRunOAuthFlowCompletesWithCallback
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:61
FunctionTestSaveEnvFile
(t *testing.T)
internal/core/plugin_registry_test.go:24
FunctionTestScanDirectory
(t *testing.T)
cmd/code2context/code_test.go:83
FunctionTestScanFiles
(t *testing.T)
cmd/code2context/code_test.go:13
FunctionTestScanFilesNonExistentFile
(t *testing.T)
cmd/code2context/code_test.go:76
FunctionTestScanFilesSkipsDirectories
(t *testing.T)
cmd/code2context/code_test.go:52
FunctionTestSendAuthenticationError
--- ISC-C17: Negative Test Cases ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:682
FunctionTestSendBedrockIntegration
--- Integration Test: Send with mock HTTP server ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:584
FunctionTestSendEndpointsUseBearerTokenWhenConfigured
(t *testing.T)
internal/plugins/ai/lmstudio/lmstudio_test.go:35
FunctionTestSendErrorTruncation
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:639
FunctionTestSendFallsBackToDeltaWhenCompletedResponseHasNoText
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:443
FunctionTestSendIncludesSourcesFromAnnotatedResponse
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:379
FunctionTestSendMalformedResponseJSON
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:782
FunctionTestSendModelNotFoundError
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:715
FunctionTestSendNetworkError
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:755
FunctionTestSendNotification_MessageTruncation
(t *testing.T)
internal/cli/chat_test.go:135
FunctionTestSendNotification_SecurityEscaping
(t *testing.T)
internal/cli/chat_test.go:11
FunctionTestSendNotification_TitleGeneration
(t *testing.T)
internal/cli/chat_test.go:93
FunctionTestSendRefreshesAfterUnauthorized
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:264
FunctionTestSendResponses_WithWarningIntegration
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:535
FunctionTestSendStreamClosesChannelAndMapsHTTPError
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:568
FunctionTestSendStreamClosesChannelOnChatError
(t *testing.T)
internal/plugins/ai/ollama/ollama_test.go:68
FunctionTestSendStreamFallback
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:875
FunctionTestSendStreamReadsCodexSSE
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:498
FunctionTestSendStreamWithoutBackendInit
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:837
FunctionTestSendStream_NilClient_ReturnsError
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:223
FunctionTestSendStream_SendsMessages
Test generated using Keploy
internal/plugins/ai/dryrun/dryrun_test.go:35
FunctionTestSendWithSpecialCharacters
(t *testing.T)
internal/tools/notifications/notifications_test.go:157
FunctionTestSendWithoutBackendInit
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:812
FunctionTestSend_NilClient_ReturnsError
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:235
FunctionTestSentinelInVariableProcessing
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
FunctionTestSentinelTokenReplacement
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
← previousnext →1,201–1,300 of 1,442, ranked by callers