Professional Documents
Culture Documents
45ac9f19d9414b30b121c6e00f57433c
view on: demo kit nightly build | demo kit latest release
Gherkin
Gherkin is written in JavaScript and is fully compatible with OpenUI5, OPA, and QUnit. It is
based on the “cucumber” tool.
The advantages of using Gherkin are:
• You write executable specifications that are easy to understand and that allow the easy
generation of integration tests.
• Product specification and documentation are always up to date; they evolve during
the development project.
• Single source of truth: Reduce communication errors across your development team,
because the product owner, developers, and testers are all working from the same
specification.
• Maximize the business value you get out of the time spent writing tests, and keep your
focus on the customer and their requirements.
• Steps file
Translates the feature file into something a computer can understand and execute. The
steps file also contains the tests to be executed to ensure that the software behaves
according to its specification. The main elements of a steps file are called step
definitions.
• Test harness
Stitches together the feature file and steps file and executes runtime tests on the result
using a test framework such as QUnit.
• DataTableUtils
Related information
cucumber Home Page
Gherkin documentation on Github