- Test 1: Run
get_workspace_context- should show 0 active shells - Test 2: Run
execute_shell_command_codewith{"command": "echo Hello"}- should create shell-1 - Test 3: Run
get_workspace_contextagain - should show 1 active shell - Test 4: Run another command without shellId - should reuse shell-1
- Test 5: Run command with
{"command": "dir", "shellId": "shell-2"}- should fail with error
- Test 6: Background command:
{"command": "ping google.com -t", "background": true} - Test 7: Interactive command:
{"command": "pause", "interactive": true}- should timeout - Test 8: Directory change:
{"command": "cd C:\\temp && echo %CD%", "cwd": "C:\\temp"} - Test 9: Create multiple shells by running commands without shellId
- Test 10: Try to create 9th shell - should fail with max limit error
- Test 11: Invalid shellId:
{"command": "echo test", "shellId": "fake-shell"} - Test 12: Check error messages are helpful and suggest solutions
- Test 13: Verify
get_workspace_contextshows accurate shell status
- ✅ Auto-generates shell-1, shell-2, etc.
- ✅ Maximum 8 shells enforced
- ✅ Clean error messages for invalid shells
- ✅ Regular commands complete with "Completed" status
- ✅ Background commands return immediately
- ✅ Interactive commands use longer timeout
- ✅ Working directory tracking works
- ✅ Shell status updates (idle, busy, waiting-for-input)
- ✅ Directory tracking per shell
- ✅ Integration with workspace context
- ✅ Clear error messages
- ✅ Helpful suggestions for resolution
- ✅ No crashes or unexpected behavior
# Test 1: Basic shell creation
get_workspace_context
# Test 2: First command (creates shell-1)
execute_shell_command_code {"command": "echo Hello World"}
# Test 3: Background process
execute_shell_command_code {"command": "ping google.com -t", "background": true}
# Test 4: Interactive command
execute_shell_command_code {"command": "pause", "interactive": true}
# Test 5: Check status
get_workspace_contextDate: _________
Tester: _________
VS Code Version: _________
Extension Version: _________
Test Results:
- All basic tests passed
- All core feature tests passed
- All error handling tests passed
- No unexpected errors or crashes
- Performance is acceptable
Issues Found:
Overall Status: ✅ PASS / ❌ FAIL
Notes:
Ready for Phase 2: Yes / No
Next Steps: _________