1.4 KiB
1.4 KiB
Companion Extension Smoke Test
This validates extension + MCP bridge + VM agent integration.
1. Preconditions
- Windows VM agent is reachable.
codesys.agentUrlandcodesys.agentTokenare configured in extension settings.- CODESYS bridge script path resolves correctly.
Reference operational guide:
../python_scripting/codesys-mcp-bridge-operations.md
2. Connect + Health
- Run
CODESYS: Connect MCP Bridge. - Run
CODESYS: Health Check. - Confirm status bar shows connected and output logs health response.
3. Project Selection
- Run
CODESYS: Select Project. - Provide a valid project path.
- Confirm Projects view shows active project.
4. Read Workflows
- Run
CODESYS: Read Project Inventory. - Run
CODESYS: Read Device I/O. - Confirm Jobs view shows
succeededfor both jobs.
5. Safe Mutation (Dry Run)
- Run
CODESYS: Sync Project. - Keep dry-run enabled.
- Confirm job success and no errors in Problems view.
6. Build
- Run
CODESYS: Build Project. - Confirm job success.
7. Optional Deploy
- Set
codesys.allowDownloadCommand=true. - Run
CODESYS: Download To Device. - Validate target confirmation and completion.
8. Failure Signal Check
- Intentionally provide bad input (for example invalid project path) to
Read Project Inventory. - Confirm failure:
- appears in output
- appears in Jobs view
- appears in Problems panel diagnostics