Adversarial Testing
Scenarios
8 hand-written PowerShell scripts that try to break the timeout implementation. Click any scenario to step through it interactively with pre-recorded output.
Scenario 01
Basic Timeout via PSInvocationSettings
was FAIL
Scenario 02
Stop(TimeSpan) Bounded Stop
Scenario 03
Dispose() While Running
Scenario 04
Double Dispose Safety
Scenario 05
Runspace Close With Active Pipeline
Scenario 06
Concurrent Stop and Invoke Race
was CRASH
Scenario 07
RunspacePool Exhaustion With Bounded Wait
was PARTIAL
Scenario 08
Nested PowerShell Timeout
How to Use the Interactive Runner
Click any scenario card above to open its page. Each page shows:
- Goal — what the scenario is trying to verify
- "Trying to break" — what the old code would fail at
- Step Through — walk through each test step with a code panel, output panel (typing animation), and an explanation
- Play All — auto-advances through all steps with 1.5s delay
- Full Output — shows the complete pre-recorded .txt result
- Script source — collapsible full .ps1 source at the bottom