Translate Gherkin feature files into RobotFramework tests
Project description
gherkin2robotframework
Description
This tool can be used to facilitate the usage of Cucumber feature files in a RobotFramework Test Automation solution. Although RobotFramework supports BDD style test cases, this support is limited to Given/When/Then keywords. Features like datatables and docstrings are not supported in RobotFramework. This tool will 'compile' Gherkin feature files into RobotFramework test cases and scaffolding for step definitions aka User Keywords.
Usage
First time generation
TBD
Regeneration
TBD
Limitations and considerations
Background support
The Background
keyword is generated to implement the background part of the feature file. Each test case will
include this keyword. Using [Test setup]
will not work for Scenario Outline
with Examples.
In Cucumber the Background is applied to each example and in RobotFramework the [Test setup]
is only applied to
the Test case and NOT to each line in the test case with [Test Template]
.
Language support
#language:xx
is supported, but because the gherkin3 dependency is not recently updated on PyPI.
Therefore some keywords (and aliases) are not included.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gherkin2robotframework-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b52305e22be5ec8fc97c21a6cbe40d5aaf7c9cef443a99d944fb02541af4534f |
|
MD5 | d152dc0ed07a28254aa44c333aff91ce |
|
BLAKE2b-256 | 11650560fdaf71fe06c6bf23f655524cc7e2959d7932f27b515a98fffa033ade |
Hashes for gherkin2robotframework-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aec9aa3ea18380ee5abc5e4755af010815965fac011aff7064b5e9ee57286ab5 |
|
MD5 | b84ae36e7d0b361eb528a03a5c3cee93 |
|
BLAKE2b-256 | 7224e1b2c8c723677ad61f9ac889a1c74adce447702aa2b2571a534b6eb79ccb |