Bump Spectre.Console and Spectre.Console.Testing #49
25 fail, 5 skipped, 184 pass in 34s
214 tests 184 ✅ 34s ⏱️
1 suites 5 💤
1 files 25 ❌
Results for commit 63e56f1.
Annotations
Check warning on line 0 in DeadCode.Tests.CLI.Commands.ProfileCommandTests
github-actions / Test Results
ExecuteAsync_WithProfilingException_LogsError (DeadCode.Tests.CLI.Commands.ProfileCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithProfilingException_LogsError threw exception:
System.MissingMethodException: Method not found: 'System.String Spectre.Console.StringExtensions.EscapeMarkup(System.String)'. at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<<ExecuteAsync>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<ExecuteAsync>b__0(ProgressContext ctx)
at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
at Spectre.Console.Testing.NoopExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console.Testing/Internal/NoopExclusivityMode.cs:line 12
at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
at DeadCode.CLI.Commands.ProfileCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation) in /home/runner/work/deadcode/deadcode/Solutions/DeadCode/CLI/Commands/ProfileCommand.cs:line 100
at DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithProfilingException_LogsError() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/ProfileCommandTests.cs:line 410
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.FullCommandTests
github-actions / Test Results
ExecuteAsync_WithException_LogsErrorAndReturns1 (DeadCode.Tests.CLI.Commands.FullCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithException_LogsErrorAndReturns1 threw exception:
System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'. at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithException_LogsErrorAndReturns1() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/FullCommandTests.cs:line 427
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.FullCommandTests
github-actions / Test Results
ExecuteAsync_CreatesOutputDirectory (DeadCode.Tests.CLI.Commands.FullCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_CreatesOutputDirectory threw exception:
System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'. at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_CreatesOutputDirectory() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/FullCommandTests.cs:line 393
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.AnalyzeCommandTests
github-actions / Test Results
ExecuteAsync_AggregatesMultipleTraceFiles (DeadCode.Tests.CLI.Commands.AnalyzeCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_AggregatesMultipleTraceFiles threw exception:
Shouldly.ShouldAssertException: await command.ExecuteAsync(context, settings, CancellationToken.None);
// Assert
result
should be
0
but was
1 at DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_AggregatesMultipleTraceFiles() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/AnalyzeCommandTests.cs:line 376
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.AnalyzeCommandTests
github-actions / Test Results
ExecuteAsync_WithValidInput_SuccessfulExecution (DeadCode.Tests.CLI.Commands.AnalyzeCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WithValidInput_SuccessfulExecution threw exception:
Shouldly.ShouldAssertException: await command.ExecuteAsync(context, settings, CancellationToken.None);
// Assert
result
should be
0
but was
1 at DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WithValidInput_SuccessfulExecution() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/AnalyzeCommandTests.cs:line 190
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.ProfileCommandTests
github-actions / Test Results
ExecuteAsync_WithFailedProfiling_Returns1 (DeadCode.Tests.CLI.Commands.ProfileCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithFailedProfiling_Returns1 threw exception:
System.MissingMethodException: Method not found: 'System.String Spectre.Console.StringExtensions.EscapeMarkup(System.String)'. at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<<ExecuteAsync>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<ExecuteAsync>b__0(ProgressContext ctx)
at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
at Spectre.Console.Testing.NoopExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console.Testing/Internal/NoopExclusivityMode.cs:line 12
at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
at DeadCode.CLI.Commands.ProfileCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation) in /home/runner/work/deadcode/deadcode/Solutions/DeadCode/CLI/Commands/ProfileCommand.cs:line 100
at DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithFailedProfiling_Returns1() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/ProfileCommandTests.cs:line 291
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.AnalyzeCommandTests
github-actions / Test Results
ExecuteAsync_WithDirectoryTracePath_FindsTraceFiles (DeadCode.Tests.CLI.Commands.AnalyzeCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WithDirectoryTracePath_FindsTraceFiles threw exception:
Shouldly.ShouldAssertException: await command.ExecuteAsync(context, settings, CancellationToken.None);
// Assert
result
should be
0
but was
1 at DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WithDirectoryTracePath_FindsTraceFiles() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/AnalyzeCommandTests.cs:line 233
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.AnalyzeCommandTests
github-actions / Test Results
ExecuteAsync_WithNoTraceFiles_Returns1 (DeadCode.Tests.CLI.Commands.AnalyzeCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WithNoTraceFiles_Returns1 threw exception:
Shouldly.ShouldAssertException: testConsole.Output;
output
should contain (case insensitive comparison)
"No trace files found!"
but was actually
"System.TypeLoadException: Could not load type 'Spectre.Console.Style' from
assembly 'Spectre.Consol..." at DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WithNoTraceFiles_Returns1() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/AnalyzeCommandTests.cs:line 265
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.ProfileCommandTests
github-actions / Test Results
ExecuteAsync_WritesExpectedConsoleOutput (DeadCode.Tests.CLI.Commands.ProfileCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WritesExpectedConsoleOutput threw exception:
System.MissingMethodException: Method not found: 'System.String Spectre.Console.StringExtensions.EscapeMarkup(System.String)'. at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<<ExecuteAsync>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<ExecuteAsync>b__0(ProgressContext ctx)
at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
at Spectre.Console.Testing.NoopExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console.Testing/Internal/NoopExclusivityMode.cs:line 12
at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
at DeadCode.CLI.Commands.ProfileCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation) in /home/runner/work/deadcode/deadcode/Solutions/DeadCode/CLI/Commands/ProfileCommand.cs:line 100
at DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WritesExpectedConsoleOutput() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/ProfileCommandTests.cs:line 489
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.FullCommandTests
github-actions / Test Results
ExecuteAsync_PassesCorrectSettingsToSubCommands (DeadCode.Tests.CLI.Commands.FullCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_PassesCorrectSettingsToSubCommands threw exception:
System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'. at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_PassesCorrectSettingsToSubCommands() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/FullCommandTests.cs:line 337
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.FullCommandTests
github-actions / Test Results
ExecuteAsync_WithSuccessfulPipeline_Returns0 (DeadCode.Tests.CLI.Commands.FullCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithSuccessfulPipeline_Returns0 threw exception:
System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'. at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithSuccessfulPipeline_Returns0() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/FullCommandTests.cs:line 192
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.ProfileCommandTests
github-actions / Test Results
ExecuteAsync_WithScenariosFile_LoadsScenarios (DeadCode.Tests.CLI.Commands.ProfileCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithScenariosFile_LoadsScenarios threw exception:
System.MissingMethodException: Method not found: 'System.String Spectre.Console.StringExtensions.EscapeMarkup(System.String)'. at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<<ExecuteAsync>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<ExecuteAsync>b__0(ProgressContext ctx)
at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
at Spectre.Console.Testing.NoopExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console.Testing/Internal/NoopExclusivityMode.cs:line 12
at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
at DeadCode.CLI.Commands.ProfileCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation) in /home/runner/work/deadcode/deadcode/Solutions/DeadCode/CLI/Commands/ProfileCommand.cs:line 100
at DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithScenariosFile_LoadsScenarios() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/ProfileCommandTests.cs:line 338
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.ProfileCommandTests
github-actions / Test Results
ExecuteAsync_WithoutScenariosFile_CreatesDefaultScenario (DeadCode.Tests.CLI.Commands.ProfileCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithoutScenariosFile_CreatesDefaultScenario threw exception:
System.MissingMethodException: Method not found: 'System.String Spectre.Console.StringExtensions.EscapeMarkup(System.String)'. at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<<ExecuteAsync>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<ExecuteAsync>b__0(ProgressContext ctx)
at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
at Spectre.Console.Testing.NoopExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console.Testing/Internal/NoopExclusivityMode.cs:line 12
at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
at DeadCode.CLI.Commands.ProfileCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation) in /home/runner/work/deadcode/deadcode/Solutions/DeadCode/CLI/Commands/ProfileCommand.cs:line 100
at DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithoutScenariosFile_CreatesDefaultScenario() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/ProfileCommandTests.cs:line 375
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.ProfileCommandTests
github-actions / Test Results
ExecuteAsync_WithSuccessfulProfiling_Returns0 (DeadCode.Tests.CLI.Commands.ProfileCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithSuccessfulProfiling_Returns0 threw exception:
System.MissingMethodException: Method not found: 'System.String Spectre.Console.StringExtensions.EscapeMarkup(System.String)'. at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<<ExecuteAsync>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<ExecuteAsync>b__0(ProgressContext ctx)
at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
at Spectre.Console.Testing.NoopExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console.Testing/Internal/NoopExclusivityMode.cs:line 12
at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
at DeadCode.CLI.Commands.ProfileCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation) in /home/runner/work/deadcode/deadcode/Solutions/DeadCode/CLI/Commands/ProfileCommand.cs:line 100
at DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_WithSuccessfulProfiling_Returns0() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/ProfileCommandTests.cs:line 260
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.FullCommandTests
github-actions / Test Results
ExecuteAsync_WithFailedAnalysis_ReturnsExitCode (DeadCode.Tests.CLI.Commands.FullCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithFailedAnalysis_ReturnsExitCode threw exception:
System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'. at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithFailedAnalysis_ReturnsExitCode() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/FullCommandTests.cs:line 299
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.FullCommandTests
github-actions / Test Results
ExecuteAsync_WithFailedProfiling_ContinuesToAnalysis (DeadCode.Tests.CLI.Commands.FullCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithFailedProfiling_ContinuesToAnalysis threw exception:
System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'. at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithFailedProfiling_ContinuesToAnalysis() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/FullCommandTests.cs:line 262
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.FullCommandTests
github-actions / Test Results
ExecuteAsync_WritesExpectedConsoleOutput (DeadCode.Tests.CLI.Commands.FullCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WritesExpectedConsoleOutput threw exception:
System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'. at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WritesExpectedConsoleOutput() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/FullCommandTests.cs:line 504
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.AnalyzeCommandTests
github-actions / Test Results
ExecuteAsync_WritesExpectedConsoleOutput (DeadCode.Tests.CLI.Commands.AnalyzeCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WritesExpectedConsoleOutput threw exception:
Shouldly.ShouldAssertException: testConsole.Output;
output
should contain (case insensitive comparison)
"✓"
but was actually
"System.TypeLoadException: Could not load type 'Spectre.Console.Style' from
assembly 'Spectre.Consol..." at DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WritesExpectedConsoleOutput() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/AnalyzeCommandTests.cs:line 451
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.AnalyzeCommandTests
github-actions / Test Results
ExecuteAsync_WithException_LogsErrorAndReturns1 (DeadCode.Tests.CLI.Commands.AnalyzeCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WithException_LogsErrorAndReturns1 threw exception:
NSubstitute.Exceptions.ReceivedCallsException: Expected to receive a call matching:
Log<FormattedLogValues>(Error, 0, Failed to analyze redundancy, System.InvalidOperationException: Test error, Func<FormattedLogValues, Exception, String>)
Actually received no matching calls.
Received 2 non-matching calls (non-matching arguments indicated with '*' characters):
Log<FormattedLogValues>(*Information*, 0, *Starting redundancy analysis*, *<null>*, Func<FormattedLogValues, Exception, String>)
Log<FormattedLogValues>(Error, 0, Failed to analyze redundancy, *System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'.
at DeadCode.CLI.Commands.AnalyzeCommand.<>c.<ExecuteAsync>b__7_0(StatusContext ctx) in /home/runner/work/deadcode/deadcode/Solutions/DeadCode/CLI/Commands/AnalyzeCommand.cs:line 94
at Spectre.Console.Status.<>c__DisplayClass14_0.<Start>b__0(StatusContext ctx) in /_/src/Spectre.Console/Live/Status/Status.cs:line 44
at Spectre.Console.Status.<>c__DisplayClass16_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Status/Status.cs:line 76
--- End of stack trace from previous location ---
at Spectre.Console.Status.<>c__DisplayClass17_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Status/Status.cs:line 114
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
at Spectre.Console.Testing.NoopExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console.Testing/Internal/NoopExclusivityMode.cs:line 12
at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
at Spectre.Console.Status.StartAsync[T](String status, Func`2 func) in /_/src/Spectre.Console/Live/Status/Status.cs:line 111
at Spectre.Console.Status.StartAsync(String status, Func`2 action) in /_/src/Spectre.Console/Live/Status/Status.cs:line 74
at Spectre.Console.Status.Start(String status, Action`1 action) in /_/src/Spectre.Console/Live/Status/Status.cs:line 48
at DeadCode.CLI.Commands.AnalyzeCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation) in /home/runner/work/deadcode/deadcode/Solutions/DeadCode/CLI/Commands/AnalyzeCommand.cs:line 91*, Func<FormattedLogValues, Exception, String>)
at NSubstitute.Core.ReceivedCallsExceptionThrower.Throw(ICallSpecification callSpecification, IEnumerable`1 matchingCalls, IEnumerable`1 nonMatchingCalls, Quantity requiredQuantity)
at NSubstitute.Routing.Handlers.CheckReceivedCallsHandler.Handle(ICall call)
at NSubstitute.Routing.Route.Handle(ICall call)
at NSubstitute.Core.CallRouter.Route(ICall call)
at NSubstitute.Proxies.CastleDynamicProxy.CastleForwardingInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at NSubstitute.Proxies.CastleDynamicProxy.ProxyIdInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.ObjectProxy_13.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args)
at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, Exception exception, String message, Object[] args)
at Microsoft.Extensions.Logging.LoggerExtensions.LogError(ILogger logger, Exception exception, String message, Object[] args)
at DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_WithException_LogsErrorAndReturns1() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/AnalyzeCommandTests.cs:line 298
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.ProfileCommandTests
github-actions / Test Results
ExecuteAsync_PassesCorrectProfilingOptions (DeadCode.Tests.CLI.Commands.ProfileCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_PassesCorrectProfilingOptions threw exception:
System.MissingMethodException: Method not found: 'System.String Spectre.Console.StringExtensions.EscapeMarkup(System.String)'. at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<<ExecuteAsync>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.ProfileCommand.<>c__DisplayClass6_0.<ExecuteAsync>b__0(ProgressContext ctx)
at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
at Spectre.Console.Testing.NoopExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console.Testing/Internal/NoopExclusivityMode.cs:line 12
at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
at DeadCode.CLI.Commands.ProfileCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation) in /home/runner/work/deadcode/deadcode/Solutions/DeadCode/CLI/Commands/ProfileCommand.cs:line 100
at DeadCode.Tests.CLI.Commands.ProfileCommandTests.ExecuteAsync_PassesCorrectProfilingOptions() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/ProfileCommandTests.cs:line 452
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.FullCommandTests
github-actions / Test Results
ExecuteAsync_WithFailedExtraction_ReturnsExitCode (DeadCode.Tests.CLI.Commands.FullCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithFailedExtraction_ReturnsExitCode threw exception:
System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'. at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_WithFailedExtraction_ReturnsExitCode() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/FullCommandTests.cs:line 224
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.Integration.ProgramIntegrationTests
github-actions / Test Results
Main_WithHelpFlag_ShowsHelp (DeadCode.Tests.Integration.ProgramIntegrationTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 1s]
Raw output
Test method DeadCode.Tests.Integration.ProgramIntegrationTests.Main_WithHelpFlag_ShowsHelp threw exception:
Shouldly.ShouldAssertException: process.ExitCode
should be
0
but was
134 at DeadCode.Tests.Integration.ProgramIntegrationTests.Main_WithHelpFlag_ShowsHelp() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/Integration/ProgramIntegrationTests.cs:line 37
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.AnalyzeCommandTests
github-actions / Test Results
ExecuteAsync_FiltersReportByConfidenceLevel (DeadCode.Tests.CLI.Commands.AnalyzeCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_FiltersReportByConfidenceLevel threw exception:
Shouldly.ShouldAssertException: await command.ExecuteAsync(context, settings, CancellationToken.None);
// Assert
result
should be
0
but was
1 at DeadCode.Tests.CLI.Commands.AnalyzeCommandTests.ExecuteAsync_FiltersReportByConfidenceLevel() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/AnalyzeCommandTests.cs:line 331
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.CLI.Commands.FullCommandTests
github-actions / Test Results
ExecuteAsync_LogsInformationMessages (DeadCode.Tests.CLI.Commands.FullCommandTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 0s]
Raw output
Test method DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_LogsInformationMessages threw exception:
System.TypeLoadException: Could not load type 'Spectre.Console.Style' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=170fe27f8af98a30'. at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DeadCode.CLI.Commands.FullCommand.ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellation)
at DeadCode.Tests.CLI.Commands.FullCommandTests.ExecuteAsync_LogsInformationMessages() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/CLI/Commands/FullCommandTests.cs:line 467
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Check warning on line 0 in DeadCode.Tests.Integration.ProgramIntegrationTests
github-actions / Test Results
Main_WithVersionFlag_ShowsVersion (DeadCode.Tests.Integration.ProgramIntegrationTests) failed
Solutions/DeadCode.Tests/TestResults/test-results_net10.0_20260417180151.trx [took 1s]
Raw output
Test method DeadCode.Tests.Integration.ProgramIntegrationTests.Main_WithVersionFlag_ShowsVersion threw exception:
Shouldly.ShouldAssertException: process.ExitCode
should be
0
but was
134 at DeadCode.Tests.Integration.ProgramIntegrationTests.Main_WithVersionFlag_ShowsVersion() in /home/runner/work/deadcode/deadcode/Solutions/DeadCode.Tests/Integration/ProgramIntegrationTests.cs:line 70
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408