Modernize QUnit unit tests and OPA5 integration tests to the UI5 Test Starter concept.
“网站与界面”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Modernize QUnit unit tests and OPA5 integration tests to the UI5 Test Starter concept.
Use this skill when:
- The linter reports `prefer-test-starter` for *.qunit.html or *.qunit.js files
- Test HTML files use manual sap-ui-core.js bootstrapping instead of Test Starter's runTest.js/createSuite.js
- Test JS files use Core.ready(), Core.attachInit(), or jsUnitTestSuite instead of sap.ui.define
- OPA test HTML files exist with per-test Opa5.extendConfig and manual bootstrapping
- An AllJourneys.js orchestrator loads OPA journeys dynamically
- OPA journeys call `iStartMyUIComponent` instead of `iStartMyAppInAFrame`
- User asks to modernize tests, modernize test infrastructure, or adopt Test Starter
Handles unit tests (Core.ready removal, sap.ui.define wrapping) and OPA challenges
(page-object imports, Opa5 config, journey orchestration, QUnit 1.x assert modernization,
in-window-to-iframe launcher migration).
Trigger on: prefer-test-starter warnings, test modernization requests, iStartMyUIComponent.