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

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.6K
increased by0.36%
Maintainers
1
Weekly downloads
 
Created
Source

UI5 Test runner

Package Quality Known Vulnerabilities dependencies Status devDependencies Status ui5-test-runner ui5-test-runner install size MIT License

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
pageParams''Parameters added to each page URL.
For instance : 'sap-ui-theme=sap_belize&sap-ui-debug=true'
pageTimeout0Limit the page execution time, fails the page if it takes longer than the timeout (0 to disable the timeout)
globalTimeout0Limit the pages execution time, fails the execution if it takes longer than the timeout (0 to disable the timeout)
failFastfalseStops the execution after the first failing page
keepAlivefalseKeeps the server alive (enables debugging)
watchfalseMonitors the webapp folder and re-execute tests on change
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__ __REPORT__'Browser instanciation arguments :
  • '__URL__' is replaced with the URL to open
  • '__REPORT__' is replaced with a folder path that is associated with the current URL (can be used to store additional traces such as console logs or screenshots)
parallel2Number of parallel tests executions (0 to ignore tests and keep alive)
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)
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)
covReporters'lcov,cobertura'Comma separated list of reporters to use

Keywords

FAQs

Package last updated on 01 Jun 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