Socket
Socket
Sign inDemoInstall

ui5-test-runner

Package Overview
Dependencies
6
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ui5-test-runner

Standalone test runner for UI5


Version published
Weekly downloads
1.3K
decreased by-8.09%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

UI5 Test runner

Node.js CI Package Quality Known Vulnerabilities ui5-test-runner PackagePhobia MIT License FOSSA Status Documentation

A self-sufficient test runner for UI5 applications enabling parallel execution of tests.

To put it in a nutshell, some UI5 applications have so many tests that when you run them in a browser, it ends up crashing. The main reason is memory consumption : the browser process goes up to 2 GB and it blows up. JavaScript is based on garbage collecting but it needs time to operate and the stress caused by executing the tests as well as the use of iframes do not let enough bandwidth for the browser to free up the memory.

This tool is designed and built as a substitute of the UI5 karma runner. It executes all the tests in parallel thanks to several browser instances (which also reduces the total execution time).

📚 Documentation

💿 How to install

  • Works with Node.js >= 18
  • Local installation
    • npm install --save-dev ui5-test-runner
    • Trigger either with npx ui5-test-runner or through an npm script invoking ui5-test-runner
  • Global installation
    • npm install --global ui5-test-runner
    • Trigger with ui5-test-runner

NOTE : additional packages might be needed during the execution (puppeteer, selenium-webdriver, nyc...) . If they are found installed locally in the tested project, they are used. Otherwise, they are installed globally.

⚖️ License

FOSSA Status

⚠️ Breaking changes

VersionReason
5.0.0• Some coverage reports now includes all files, leading to a potential decrease of coverage
4.0.0 • Drop support of Node.js 16
3.0.0 • Drop support of Node.js 14
2.0.0 • Command line parameters as well as configuration file syntax have changed
• Dependencies are installed on demand
• Browser instantiation command evolved in an incompatible way (see documentation)
• Output is different (report, traces)

✒ Contributors

Keywords

FAQs

Last updated on 27 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc