SAPUI5/OpenUI5 provides several testing options, like unit and integration tests, which are summarized in UI5 Testing:
Picture 1: Testing UI5 applications
To ensure that code is tested thoroughly before it is included in a productive app, using a test runner is best practice to automate the regular execution of tests. The test runner can be included in a project setup to be called whenever code changes are submitted.
In this context, the UI5 team is now faced with a new situation: Handling current problems with browsers would require an update of the Karma test runner, which is deprecated.
The Karma test runner is deprecated since April 2023. Now we have to also deprecate karma-ui5.
(Please note that while karma-ui5 is deprecated and does not receive further updates, it can still be used as long as it fulfils your needs.)
UI5 does not provide features for a specific other test runner, but rather aims for an agnostic approach. To execute functional and integration tests you may use a test runner of your choice with the respective configuration for QUnit and OPA5 tests. One test runner alternative with the respective configuration that executes tests in parallel is the ui5-test-runner, which is listed in the UI5 community projects. For more details see this Devtoberfest 2023 session.
You might also be interested in this UI5ers live webcast which discusses test runners.
SAPUI5/OpenUI5 provides several testing options, like unit and integration tests, which are summarized in UI5 Testing:Picture 1: Testing UI5 applicationsTo ensure that code is tested thoroughly before it is included in a productive app, using a test runner is best practice to automate the regular execution of tests. The test runner can be included in a project setup to be called whenever code changes are submitted.In this context, the UI5 team is now faced with a new situation: Handling current problems with browsers would require an update of the Karma test runner, which is deprecated.The Karma test runner is deprecated since April 2023. Now we have to also deprecate karma-ui5.(Please note that while karma-ui5 is deprecated and does not receive further updates, it can still be used as long as it fulfils your needs.)UI5 does not provide features for a specific other test runner, but rather aims for an agnostic approach. To execute functional and integration tests you may use a test runner of your choice with the respective configuration for QUnit and OPA5 tests. One test runner alternative with the respective configuration that executes tests in parallel is the ui5-test-runner, which is listed in the UI5 community projects. For more details see this Devtoberfest 2023 session.You might also be interested in this UI5ers live webcast which discusses test runners. Read More Technology Blogs by SAP articles
#SAP
#SAPTechnologyblog