The ScenarioNumbering precompiler is responsible for adding an index to all scenarios and scenario outlines.
@tag1
Scenario Outline: Test language (<language>)
Given I am on Home page <language> user
When <language> language is choosen
Then I should be on Home page
And the title should be "<title>"
@tag2
Examples:
| language | title |
| EN | Welcome |
| FR | Bienvenue |
Scenario: Test without tag
Given I am on Home page user
Then I should be on Home page
It will be modified to:
@tag1
Scenario Outline: 1. Test language (<language>)
Given I am on Home page <language> user
When <language> language is choosen
Then I should be on Home page
And the title should be "<title>"
@tag2
Examples:
| language | title |
| EN | Welcome |
| FR | Bienvenue |
Scenario: 2. Test without tag
Given I am on Home page user
Then I should be on Home page
ScenarioNumbering accepts the following configuration:
Option | Type | Description | Default |
---|---|---|---|
format |
String |
The format, how index should be added to the name of the scenario/scenairo outline. Possible tokens:
|
${i}. ${name} |
This package uses debug for logging, use gpc:scenario-numbering
:
DEBUG=gpc:scenario-numbering* gherking ...
For detailed documentation see the TypeDocs documentation.
gpc-scenario-numbering's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.