STDX - State Diagram Editor & Test Generator

🎯 Overview
STDX is a VS Code extension for creating state diagrams (.stdx format) and automatically generating test cases from VOF diagrams.
✨ Features
- Visual Diagram Editor - Create states and transitions on an interactive canvas
- Test Case Generation - Auto-generate test cases from diagrams
- Test Comparison - Compare generated tests against specifications
- Condition Library - Reusable condition library with import/export
- Encrypted Storage - All diagrams and libraries are AES-256 encrypted
🔐 Login Credentials
| Role |
Password |
Permissions |
| Viewer |
view123 |
Read-only (cannot generate test cases) |
⚠️ Need full access? Contact system administrator to upgrade your account.
🚀 Quick Start
Create a Diagram
- Right-click in explorer → Create STDX Diagram
- Enter diagram name
- Double-click canvas to add states
- Drag between states to create transitions
Generate Test Cases
- Click test generation icon or press
Ctrl+Alt+T
- Fill in:
- Config file
- Template file
- Output directory
- Click Generate Test Cases
Compare Test Cases
- Open Test Generator → Compare Tab
- Provide configuration files
- Click Run Comparison
Manage Condition Library
- Add - Through properties panel
- Import - Sidebar button (JSON format)
- Export - Sidebar button
- Delete - Sidebar button
⚙️ Requirements
- VS Code 1.85.0 or higher
- No Python installation required (bundled executable included)
🔧 Troubleshooting
| Issue |
Solution |
| Can't generate tests |
Login as full access user |
| File not found |
Use absolute paths or verify file exists |
| Extension won't activate |
Check credentials (3 attempts allowed) |
📝 Commands
| Command |
Description |
STDX: Create New Diagram |
Create a new .stdx file |
STDX: Open Test Generator |
Open tabbed test generator |
STDX: Export Library |
Export condition library |
STDX: Import Library |
Import condition library |
⌨️ Keyboard Shortcuts
| Action |
Shortcut |
| Zoom In |
Ctrl++ or Ctrl+= |
| Zoom Out |
Ctrl+- |
| Reset Zoom |
Ctrl+0 |
| Center View |
Ctrl+Shift+C |
| Save |
Ctrl+S |
| Save All |
Ctrl+Shift+S |
| Undo |
Ctrl+Z |
| Redo |
Ctrl+Y or Ctrl+Shift+Z |
| Delete Element |
Delete or Backspace |
| Search Nodes |
Ctrl+F |
| Toggle Minimap |
M |
Note: On macOS, use Cmd instead of Ctrl.
📄 License
MIT
👥 Support
For issues, questions, or contributions, please contact the development team.
yassine.bougacha@supcom.tn
Yassine_ext@kpit.com
| |