VS Code extension for running and managing WinCC OA CTRL TestFramework tests directly from the editor.
Three different views to explore and run your tests:
- Flat View — Simple list of all TEST_RUN_IDs for quick access
- Tree View — Hierarchical view showing parent-child relationships between test runs
- Suite Folder View — Physical folder structure based on
testSuite*.configlocations
- Test Explorer — Click the play button on any test item
- Context Menu — Right-click on
testRuns.config,testSuite*.config, or test suite folders - Command Palette —
Ctrl+Shift+P→ "WinCC OA TestFramework: Start..."
- Automatic detection of test result JSON files in
Results/Partly/ - Pass/fail status icons (✓/✗) displayed on test items
- Statistics: passed, failed, crashed counts
- Quick pick UI to select the WinCC OA project for running tests
- Status bar indicator showing the currently selected project
- Supports all runnable WinCC OA projects
- Open a workspace containing
testRuns.configin aWinCC_OA_Testdirectory - Select a TestRunner project:
Ctrl+Shift+P→ "Select TestRunner Project" - Run tests from the Test Explorer sidebar or via context menu
| Command | Description |
|---|---|
WinCC OA TestFramework: Create Default TestFramework Workspace |
Scaffold a default WinCC OA test workspace (WinCC_OA_Test) |
WinCC OA TestFramework: Start TestRunner |
Run a test by TEST_RUN_ID (from testRuns.config) |
WinCC OA TestFramework: Select TestRunner Project |
Choose the WinCC OA project for test execution |
WinCC OA TestFramework: Start Test Suite |
Run tests from a testSuite.config file or folder |
WinCC OA TestFramework: Scan Test Results |
Rescan Results/Partly and refresh Problems/tests |
| Setting | Default | Description |
|---|---|---|
winccoaCtrlTestFramework.testWorkspaceRoot |
WinCC_OA_Test |
Relative path to the test workspace root directory containing testRuns.config |
winccoaCtrlTestFramework.knownBugAsWarning |
true |
Report KnownBug failures as warnings in Problems |
winccoaCtrlTestFramework.bugTrackerUrlTemplate |
"" |
URL template for KnownBug links (use {id} placeholder) |
winccoaCtrlTestFramework.promptForBugTrackerUrlTemplateOnStartup |
true |
Prompt on activation to set the bug tracker URL template (Yes/No/Never) |
This extension requires:
- WinCC OA Project Admin (
RichardJanisch.winccoa-project-admin)
npm install
npm run compile
npm run test:unitRun locally in VS Code:
- Press F5 to open an Extension Development Host
| Script | Description |
|---|---|
npm run compile |
Build the extension |
npm run watch |
Build in watch mode |
npm run lint |
Run ESLint |
npm run format |
Format code with Prettier |
npm run test |
Run all tests |
npm run test:unit |
Run unit tests only |
npm run test:integration |
Run integration tests |
npm run test:coverage |
Run tests with coverage |
developis the default branch (day-to-day work)mainis the stable branch (releases)feature/*/bugfix/*targetdeveloprelease/vX.Y.Zandhotfix/vX.Y.Ztargetmain
More details: docs/automation/GITFLOW_WORKFLOW.md
See CONTRIBUTING.md for guidelines.
MIT License. See LICENSE.
WinCC OA and Siemens are trademarks of Siemens AG. This is a community project and is not affiliated with Siemens AG.
Made with ❤️ for and by the WinCC OA community