ui5-test-runner is a standalone, self-sufficient test runner for UI5 applications, designed to execute tests in parallel across multiple browser instances. This approach effectively mitigates browser memory consumption issues and reduces overall test execution time, positioning it as a robust alternative to the UI5 Karma runner. The current stable version is 5.13.1, with frequent patch releases for bug fixes (monthly/bi-monthly) and minor feature releases every few months. Its key differentiators include its focus on parallel execution, optimized memory management for large UI5 test suites, and direct command-line interface usage, supporting various browser automation tools like Puppeteer, Selenium/WebDriver, and Playwright.
npm install ui5-test-runnerVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to set up `ui5-test-runner` to execute UI5 unit and integration tests using a local Puppeteer Chromium instance with a basic `package.json` script and configuration file.
Review and adjust your coverage thresholds, and configure `nyc` appropriately to exclude unwanted files or directories from coverage analysis.
Upgrade your Node.js environment to version 18 or a more recent LTS release.
Upgrade your Node.js environment to version 18 or higher.
Refer to the official documentation for v2.0.0 and above to update your command-line arguments and configuration files to the new syntax.
Consult the dedicated documentation section on browser configuration for `ui5-test-runner` v2.0.0+ to correctly set up your test browsers.
Use the `--unsecure` option when running remote UI5 tests to bypass these local network access checks if appropriate for your testing environment.
Always ensure that browser arguments provided are valid and non-empty. For versions 5.9.0 and later, a warning will be issued if empty arguments are detected.
Upgrade your Node.js installation to version 18 or a newer LTS release.
Increase the `--timeout` option in your command or configuration, ensure your browser drivers are correctly set up, or investigate long-running test cases.
Install `puppeteer` as a dev dependency in your project: `npm install --save-dev puppeteer`, or globally if preferred: `npm install --global puppeteer`.
Verify the path to your configuration file (e.g., `--config my-config.json`) and ensure its content is valid.
Add the `--unsecure` option to your `ui5-test-runner` command or configuration, specifically for remote tests requiring local network access.