Skip to content

feat(testing): deterministic process-signal lifecycle support in Repl.Testing - #90

Open
carldebilly wants to merge 9 commits into
mainfrom
dev/cdb/issue-82-signal-testing
Open

feat(testing): deterministic process-signal lifecycle support in Repl.Testing#90
carldebilly wants to merge 9 commits into
mainfrom
dev/cdb/issue-82-signal-testing

fix(testing): address the PR review

79a0f31
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Test Results succeeded Sep 12, 2026 in 0s

1644 passed, 0 failed and 2 skipped

Tests passed successfully

Report Passed Failed Skipped Time
TestResults/Repl.IntegrationTests_net10.0_x64.trx 599✅ 1⚪ 25s
TestResults/Repl.McpTests_net10.0_x64.trx 224✅ 1⚪ 4s
TestResults/Repl.ProtocolTests_net10.0_x64.trx 6✅ 715ms
TestResults/Repl.SpectreTests_net10.0_x64.trx 17✅ 356ms
TestResults/Repl.Tests_net10.0_x64.trx 787✅ 6s
TestResults/TestingSample_net10.0_x64.trx 11✅ 2s

✅ TestResults/Repl.IntegrationTests_net10.0_x64.trx

600 tests were completed in 25s with 599 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Repl.IntegrationTests.Given_AdvancedRouteConstraints 17✅ 489ms
Repl.IntegrationTests.Given_AttributeMetadataDiscovery 2✅ 25ms
Repl.IntegrationTests.Given_BannerBehavior 3✅ 97ms
Repl.IntegrationTests.Given_ChannelTextReader 8✅ 82ms
Repl.IntegrationTests.Given_CommandAliases 3✅ 25ms
Repl.IntegrationTests.Given_CommandCancellation 2✅ 233ms
Repl.IntegrationTests.Given_CommandSuggestions 5✅ 17ms
Repl.IntegrationTests.Given_Completions 10✅ 165ms
Repl.IntegrationTests.Given_ContextHierarchyBinding 16✅ 58ms
Repl.IntegrationTests.Given_ContextValidationAndDeeplinking 7✅ 32ms
Repl.IntegrationTests.Given_CustomAmbientCommands 7✅ 52ms
Repl.IntegrationTests.Given_CustomGlobalOptions 7✅ 72ms
Repl.IntegrationTests.Given_DocumentationExport 13✅ 181ms
Repl.IntegrationTests.Given_EnterInteractiveResult 6✅ 30ms
Repl.IntegrationTests.Given_FileSystemParameterBinding 2✅ 5ms
Repl.IntegrationTests.Given_GlobalOptionsAccessor 34✅ 317ms
Repl.IntegrationTests.Given_HelpDiscovery 72✅ 412ms
Repl.IntegrationTests.Given_HistoryAmbientCommand 2✅ 7ms
Repl.IntegrationTests.Given_HistoryProviders 2✅ 12ms
Repl.IntegrationTests.Given_HostAbstraction 2✅ 5ms
Repl.IntegrationTests.Given_HostedServicesLifecycle 19✅ 137ms
Repl.IntegrationTests.Given_IntegerLiteralParsing 3✅ 9ms
Repl.IntegrationTests.Given_InteractionChannel 24✅ 201ms
Repl.IntegrationTests.Given_ModuleComposition 8✅ 30ms
Repl.IntegrationTests.Given_ModulePresence 8✅ 53ms
Repl.IntegrationTests.Given_NumericParsingCulture 4✅ 20ms
Repl.IntegrationTests.Given_OptionAttributeOverrides 35✅ 109ms
Repl.IntegrationTests.Given_OptionParsingDiagnostics 4✅ 7ms
Repl.IntegrationTests.Given_OptionsGroupBinding 17✅ 46ms
Repl.IntegrationTests.Given_OutputFormatting 32✅ 176ms
Repl.IntegrationTests.Given_ParameterSchemaBinding 5✅ 9ms
Repl.IntegrationTests.Given_ProcessProbe 5✅ 1⚪ 4s
Repl.IntegrationTests.Given_ProcessSignalHarness 22✅ 848ms
Repl.IntegrationTests.Given_ProcessSignals 8✅ 2s
Repl.IntegrationTests.Given_PromptTimeout 3✅ 11ms
Repl.IntegrationTests.Given_ProtocolPassthrough 17✅ 27ms
Repl.IntegrationTests.Given_ReplRuntime 8✅ 8ms
Repl.IntegrationTests.Given_ResponseFiles 2✅ 4ms
Repl.IntegrationTests.Given_ResultNavigation 3✅ 5ms
Repl.IntegrationTests.Given_ResultSemantics 10✅ 12ms
Repl.IntegrationTests.Given_SessionState 2✅ 4ms
Repl.IntegrationTests.Given_ShellCompletion 31✅ 7s
Repl.IntegrationTests.Given_ShellCompletionBridge_Providers 13✅ 433ms
Repl.IntegrationTests.Given_ShellCompletionSetup 30✅ 7s
Repl.IntegrationTests.Given_SpectreTerminalDetection 20✅ 34ms
Repl.IntegrationTests.Given_TemporalRangeTypes 8✅ 23ms
Repl.IntegrationTests.Given_TemporalTypes 24✅ 27ms
Repl.IntegrationTests.Given_TerminalMetadataLifecycle 4✅ 14ms
Repl.IntegrationTests.Given_TestingToolkit 10✅ 139ms

✅ TestResults/Repl.McpTests_net10.0_x64.trx

225 tests were completed in 4s with 224 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Repl.McpTests.Given_McpAgentCapabilities 10✅ 1s
Repl.McpTests.Given_McpApps 15✅ 363ms
Repl.McpTests.Given_McpConcurrentSessions 2✅ 32ms
Repl.McpTests.Given_McpDebounce 5✅ 48ms
Repl.McpTests.Given_McpExitCodePolicy 1✅ 10ms
Repl.McpTests.Given_McpFallbackEndToEnd 9✅ 61ms
Repl.McpTests.Given_McpFallbackOptions 15✅ 29ms
Repl.McpTests.Given_McpInspectorCli 1⚪ 50ms
Repl.McpTests.Given_McpIntegration 8✅ 85ms
Repl.McpTests.Given_McpInteractionChannel 27✅ 66ms
Repl.McpTests.Given_McpResourceParameters 13✅ 122ms
Repl.McpTests.Given_McpRootsAndDynamicTools 4✅ 187ms
Repl.McpTests.Given_McpSchemaGenerator 21✅ 14ms
Repl.McpTests.Given_McpServerEndToEnd 44✅ 520ms
Repl.McpTests.Given_McpServerOptionsBuilder 4✅ 15ms
Repl.McpTests.Given_McpToolAdapter 32✅ 49ms
Repl.McpTests.Given_McpToolNameFlattener 10✅ 3ms
Repl.McpTests.Given_McpTransportFactory 2✅ 6ms
Repl.McpTests.Given_McpUserFeedback 2✅ 105ms

✅ TestResults/Repl.ProtocolTests_net10.0_x64.trx

6 tests were completed in 715ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Repl.ProtocolTests.Given_ProtocolContracts 6✅ 179ms

✅ TestResults/Repl.SpectreTests_net10.0_x64.trx

17 tests were completed in 356ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Repl.SpectreTests.Given_BoxDrawingTransliteratingWriter 3✅ 17ms
Repl.SpectreTests.Given_SessionAnsiConsole 5✅ 13ms
Repl.SpectreTests.Given_SpectreInteractionHandler 6✅ 3ms
Repl.SpectreTests.Given_SpectreInteractionPresenter 2✅ 7ms
Repl.SpectreTests.Given_SpectreOutputTransformerMimeTypes 1✅ 1ms

✅ TestResults/Repl.Tests_net10.0_x64.trx

787 tests were completed in 6s with 787 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Repl.Tests.Given_AmbientCommandOptions 5✅ 86ms
Repl.Tests.Given_AnsiTextMetrics 5✅ 11ms
Repl.Tests.Given_BannerFormats 4✅ 23ms
Repl.Tests.Given_BindingAttributes 2✅ 36ms
Repl.Tests.Given_CancelKeyHandler 6✅ 29ms
Repl.Tests.Given_CommandAnnotations 5✅ 5ms
Repl.Tests.Given_CommandBuilder 3✅ 72ms
Repl.Tests.Given_CommandBuilderEnrichment 23✅ 121ms
Repl.Tests.Given_CommandInvoker 10✅ 49ms
Repl.Tests.Given_ConsoleLineReader 3✅ 24ms
Repl.Tests.Given_ConsoleLineReader_Autocomplete 5✅ 209ms
Repl.Tests.Given_ConsoleLineReader_HandleKey 6✅ 6ms
Repl.Tests.Given_ConsoleLineReader_RemoteRendering 2✅ 9ms
Repl.Tests.Given_ConsoleLineReader_RenderingEngine 2✅ 33ms
Repl.Tests.Given_ConsoleReplInteractionPresenter_AdvancedProgress 5✅ 68ms
Repl.Tests.Given_CountdownSuffix 6✅ 2ms
Repl.Tests.Given_ExitCodes 61✅ 636ms
Repl.Tests.Given_GlobalOptionParser 13✅ 41ms
Repl.Tests.Given_GlobalOptionsAccessor 46✅ 93ms
Repl.Tests.Given_HandlerBinding 21✅ 129ms
Repl.Tests.Given_InteractiveAutocomplete_LiveHint 10✅ 137ms
Repl.Tests.Given_InteractiveAutocomplete_Menu 7✅ 86ms
Repl.Tests.Given_InteractiveAutocomplete_OptionCandidates 75✅ 202ms
Repl.Tests.Given_InteractiveAutocomplete_ValueProviderCandidates 84✅ 275ms
Repl.Tests.Given_InteractiveSession_ShellIntegrationMarks 45✅ 289ms
Repl.Tests.Given_InvocationOptionParser 12✅ 21ms
Repl.Tests.Given_LevenshteinDistance 2✅ 1ms
Repl.Tests.Given_MiddlewarePipeline 3✅ 11ms
Repl.Tests.Given_MnemonicParser 19✅ 19ms
Repl.Tests.Given_OptionSchema 2✅ 5ms
Repl.Tests.Given_OutputTransformerMimeTypes 2✅ 1ms
Repl.Tests.Given_ParsingOptions 2✅ 29ms
Repl.Tests.Given_ProcessSignalCancellationScope 33✅ 139ms
Repl.Tests.Given_ProcessSignalExitCodePolicy 16✅ 104ms
Repl.Tests.Given_ProjectBoundaries 1✅ 10ms
Repl.Tests.Given_PromptTimeProvider 2✅ 25ms
Repl.Tests.Given_ReplApp 24✅ 1s
Repl.Tests.Given_ReplLogging 6✅ 111ms
Repl.Tests.Given_ReplPageSource 19✅ 85ms
Repl.Tests.Given_ReplSessionIO 3✅ 10ms
Repl.Tests.Given_ResultFlowOutputTransformer 4✅ 47ms
Repl.Tests.Given_ResultFlowPager 39✅ 132ms
Repl.Tests.Given_RichPrompts 13✅ 54ms
Repl.Tests.Given_RouteResolution 23✅ 53ms
Repl.Tests.Given_RunOptions 5✅ 6ms
Repl.Tests.Given_ShellCompletionCommandNameResolution 5✅ 4ms
Repl.Tests.Given_ShellCompletionHostValidator 4✅ 1ms
Repl.Tests.Given_ShellCompletionRuntime 8✅ 75ms
Repl.Tests.Given_ShellIntegrationMarkEmitter 29✅ 35ms
Repl.Tests.Given_ShellIntegrationStatusAmbient 2✅ 1ms
Repl.Tests.Given_TemporalRangeLiteralParser 17✅ 7ms
Repl.Tests.Given_TerminalCapabilitiesClassifier 5✅ 1ms
Repl.Tests.Given_TerminalControlProtocol 2✅ 7ms
Repl.Tests.Given_TerminalControlProtocolErrors 4✅ 2ms
Repl.Tests.Given_TerminalEnvironmentClassifier 9✅ 4ms
Repl.Tests.Given_TerminalSurfaceHost 5✅ 8ms
Repl.Tests.Given_TextTableFormatter 2✅ 3ms
Repl.Tests.Given_TupleDecomposer 6✅ 3ms
Repl.Tests.Given_TupleRendering 5✅ 14ms

✅ TestResults/TestingSample_net10.0_x64.trx

11 tests were completed in 2s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Samples.Testing.Given_TestingSample 11✅ 766ms