New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ui5-test-runner

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ui5-test-runner

Standalone test runner for UI5

  • 0.9.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.5K
increased by9.54%
Maintainers
1
Weekly downloads
 
Created
Source

UI5 Test runner

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

Documentation

Concept is detailled in the article REserve - Testing UI5

How to install

  • npm install -g ui5-test-runner

How to demo

  • Clone the project training-ui5con18-opa and run npm install
  • Inside the project, use npm run karma to test with the karma runner
  • Inside the project, use ui5-test-runner -port:8080 -ui5:https://ui5.sap.com/1.87.0/ -cache:.ui5
  • You may follow the progress of the test executions using http://localhost:8080/_/progress.html

Parameters

namedefaultdescription
cwdprocess.cwd()Current working directory
port0port to use (0 to let REserve allocate one)
ui5'https://ui5.sap.com/1.87.0' UI5 url
libs'' Folder containing dependent libraries (relative to cwd)
cache''Cache UI5 resources locally in the given folder (empty to disable)
webapp'webapp'base folder of the web application (relative to cwd)
pageFilter''regexp to select which pages to execute
keepAlivefalseKeeps the server alive (enables debugging)
logServerfalseLogs REserve traces
browserString, see descriptionBrowser instanciation command, it should point to a node.js script (absolute or relative to cwd). By default, a script will instantiate chromium through puppetteer.
args'__URL__'Browser instanciation arguments. The string '__URL__' is replaced with the URL to open
parallel2Number of parallel tests executions (0 to ignore tests)
tstReportDir'report'Directory to output test reports (relative to cwd)
coveragetrueEnables code coverage
covSettingsString, see descriptionPath to a custom nyc.json file providing settings for instrumentation (relative to cwd). By default, tests folders are not excluded
covTempDir'.nyc_output'Directory to output raw coverage information to (relative to cwd)
covReportDir'coverage'Where to put the coverage report files (relative to cwd)

Keywords

FAQs

Package last updated on 20 Mar 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc