Specifies the name of the user to login with.
Specifies the password to use for authentication.
Specifies the hostname of the target service.
Specifies the port of the target service.
Specifies the port for the cds service to listen to.
Specifies the programming stack to use: node or java, default: node. Depending on the specified value the framework will start the CDS service with the following command:
for Nodejs:
npx cds-serve
for java:
mvn clean spring-boot:run
Example:
CDS_STACK=java
Specifies the command to pass to npx.
Specifies the root directory of the cds service. The cds service will be started in the specified directory by setting it as a current working directory.
Example:
CDS_SERVICE_DIRECTORY=tmp/cloud-cap-samples
Specifies the subdirectory of the cds service by appending it to the service root directory.
Example:
CDS_SERVICE_APPLICATION=fiori
Specifies additional CDS Service command line arguments where N is a number between 1 and 9, and in addition this number indicates the order of the arguments.
Example:
CDS_COMMAND_ARG1="--with-mocks"
CDS_COMMAND_ARG2="--in-memory?"
Specifies the number of seconds to wait between the single operations.
Example:
SLOW_DOWN=1
Controls the visibility of the browser. By default it is invisible as it is started in headless mode.
Example:
SHOW_BROWSER=1
Specifies the number of seconds to sleep before closing the browser.
Example:
SLOW_QUIT=2
Enables Cross-Origin Resource Sharing, useful when SAP UI5 is served separately. By default it is disabled.
Example:
ENABLE_CORS=1
Specifies Accept-Language to send to the server.
Example:
ACCEPT_LANG=en
Specifies the browser to use.
Examples:
CDS_CUCUMBER_BROWSER='chrome'
CDS_CUCUMBER_BROWSER='firefox'
Used to increase the steps default timeout during debugging sessions, create symlink of the steps-browser-library (browser.js) and load it via the webserver instead of injecting it.
Example:
CDS_CUCUMBER_DEBUG=1
Specifies the path to the steps-library (browser.js) to be loaded during UI debugging sessions.
Specifies the remote debugging port of the browser. It is used when debugging the SAP UI5 code.
Forces the initialization process to wait until the debugger is attached. This happens right after the steps-library (browser.js) is loaded in the browser.
Example:
CDS_CUCUMBER_WAIT_DEBUGGER=1
Used module: istanbul
Specifies the instrumented code used for producing a code-coverage report.
CDS_CUCUMBER_CODECOV="c8"
The c8 module is not listed in the dependencies and needs to be installed:
npm add --no-save c8
Additional configration options are available via the c8 configuration files.