Skip to content

Configuration file

It is also possible to preset parameters by creating a JSON file named ui5-test-runner.json where the runner is executed (i.e. process.cwd()).

The property names match the option names, converted to lowerCamelCase. Files written for v1 may not by compatible with v2, check mapping.

The file is applied before parsing the command line parameters, hence some parameters might be overridden.

If you want the parameters to be forced (and not be overridden by the command line), prefix the parameter name with !.

For example :

{
  "!pageTimeout": 900000,
  "globalTimeout": 3600000,
  "failFast": true
}

The pageTimeout setting cannot be overridden by the command line parameters

NOTE : the libs parameters must be converted to an array of pairs associating relative URL and source path.

For instance :

{
  "libs": [{
    "relative": "my/namespace/feature/lib/",
    "source": "../my.namespace.feature.project.lib/src/my/namespace/feature/lib/"
  }]
}

Structure of the libs parameter