Simplify Your Test Setup: Introducing the Test Starter Concept for Your UI5 Projects
A migration guide for the test starter concept the UI5 framework enabled for application projects in version 1.124 (downported to 1.120.24), walking the change from the old testsuite.qunit.html/testsuite.qunit.js pair to a single sap/ui/test/starter/createSuite script and a testsuite.qunit.js that returns a configuration object naming test pages, defaults, coverage paths and loader paths. It shows unitTests.qunit.js and opaTests.qunit.js reduced from manual QUnit bootstrapping to a single sap.ui.define require, the old .qunit.html test pages deleted in favour of one generic webapp/test/Test.qunit.html built on runTest.js, and, from UI5 1.142, the suite configuration typed with the SuiteConfiguration type for TypeScript projects. It covers how a project's QUnit and OPA5 test setup is structured and run, not whether to add a different test level or runner.
Where it sits
Who is behind it
Properties
About this work
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · sapui5-tag.
For your agent
- Ref
content:simplify-your-test-setup-introducing-the-test-starter-concept-for-your-ui5-proje- JSON
- /content/simplify-your-test-setup-introducing-the-test-starter-concept-for-your-ui5-proje.json
- MCP
- Connecting an agent