namespace sap.ui.test.gherkin.qUnitTestHarness

Visiblity: public
Available since: N/A
Module: sap/ui/test/gherkin/qUnitTestHarness
Application Component: CA-UI5-TA

Dynamically generates and executes QUnit tests based on a Gherkin feature file and step definitions

Logs activity to QUnit, and some debug information to the console with the prefix "[GHERKIN]"


Nodes Overview

Node Description

Methods Overview

Method Description
sap.ui.test.gherkin.qUnitTestHarness.test

Dynamically generates and executes QUnit tests

sap.ui.test.gherkin.qUnitTestHarness.test

Dynamically generates and executes QUnit tests

Param Type DefaultValue Description
args object

the arguments to the function

featurePath string

the path to the Gherkin feature file to parse, as an SAPUI5 module path. The ".feature" extension is assumed and should not be included. See jQuery.sap.registerModulePath

steps function

the constructor function of type sap.ui.test.gherkin.StepDefinitions