2 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 b4cbf68cce test: migrate the suite to xUnit v3
Pass TestContext.Current.CancellationToken to cancellable calls (xUnit1051), dispose pipes
asynchronously, drop null-forgiving operators that xUnit v3's nullability annotations make
redundant, and rename the ExecutionTests helper that shadowed the fake runner's RunAsync.
All 204 test cases pass under VSTest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 19:56:42 +07:00
poli0981andClaude Opus 4.8 5351c114d1 Phase 2: execution engine (run, stream, cancel, restart-detect)
- Domain: OutputLine, ExecutionMode (Capture/Launch), Cancelled +
  RebootRequiredExitCode on ExecutionResult
- Catalog: executionMode=Launch for the 7 GUI commands (winver, cleanmgr,
  perfmon, eventvwr, resmon, dxdiag, God Mode)
- Ports: ICommandExecutor/IElevationService stream via ChannelWriter<OutputLine>
- Infrastructure: IProcessRunner + SystemProcessRunner (redirect, kill tree) +
  ProcessCommandExecutor (Capture tees a channel for live output + regex capture;
  Launch fire-and-forget; restart-detect 3010/Always/regex; cancellation)
- WPF: ExecutionViewModel (off-UI-thread channel consumer), console pane
  (stderr amber, AutoScroll-with-pause), result panel (status/exit/duration/copy),
  Cancel + Restart (confirm) buttons; Run button enabled
- Tests: executor via FakeProcessRunner (3010/Always/regex/cancel/order/launch)
  + real-process echo smoke test (29 total)

Build -c Release: 0 warnings. dotnet test: 29/29.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 20:11:50 +07:00