Details
-
New Feature
-
Status: Gathering Interest
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Besides defining parameters and datasets in manual tests, users must also be able to define datasets for BDD/Cucumber tests.
When BDD tests are executed manually, parameters will work just like parameterized manual tests allowing testers to execute the same test multiple times for each row in the dataset.
If BDD tests are automated, datasets will be converted into scenario outline tests. These tests can then be exported and executed just like normal scenario outlines.
If there is only one iteration within the dataset and the Test is not a scenario outline, Xray will export the feature file replacing just the appropriate variables within the scenario.
In the case of a BDD test that is already a scenario outline (with an existing Examples clause in the original specification), the existing Examples must be completely overridden in case there is a Test Configuration to apply.
Parameters can be referenced with the notation <NAME> for BDD tests.
Â
In order to setup and cleanup the scenarios, Xray must export the dataset CSV file along with the generated feature files.
Attachments
Issue Links
- is cloned by
-
XRAYCLOUD-3682 Parameterized BDD Tests
- Under Consideration