Tests INFO will print here.
To attach INFO to Any steps, use scenario.attach function in your step definitions as shown below.
If you pass HTML's to scenario.attach then reporter will format accordingly
Simple String : scenario.attach('sample data')
Pretty JSON : scenario.attach(JSON.stringify(json, null, 2))
HTML Link : scenario.attach('format the link with html-a tag'
test data to be printed
{ "name": "cucumber-html-reporter", "format": "html" }
In order to see Doc String in the HTML report As a Cucumber User, I want to print below Doc String Hey, I am a Doc string
id | name | id | name | id | name | id | name | id | name | id | name | id | name |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
Tests INFO will print here.
To attach INFO to Any steps, use scenario.attach function in your step definitions as shown below.
If you pass HTML's to scenario.attach then reporter will format accordingly
Simple String : scenario.attach('sample data')
Pretty JSON : scenario.attach(JSON.stringify(json, null, 2))
HTML Link : scenario.attach('format the link with html-a tag'
test data to be printed
{ "name": "cucumber-html-reporter", "format": "html" }
In order to see Doc String in the HTML report As a Cucumber User, I want to print below Doc String Hey, I am a Doc string
id | name | id | name | id | name | id | name | id | name | id | name | id | name |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
Tests INFO will print here.
To attach INFO to Any steps, use scenario.attach function in your step definitions as shown below.
If you pass HTML's to scenario.attach then reporter will format accordingly
Simple String : scenario.attach('sample data')
Pretty JSON : scenario.attach(JSON.stringify(json, null, 2))
HTML Link : scenario.attach('format the link with html-a tag'
test data to be printed
{ "name": "cucumber-html-reporter", "format": "html" }
In order to see Doc String in the HTML report As a Cucumber User, I want to print below Doc String Hey, I am a Doc string
id | name | id | name | id | name | id | name | id | name | id | name | id | name |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A | 1 | data-A |
2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B | 2 | data-B |
this.Then(/^he left this step as a undefined$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
this.Then(/^cucumber-html-reporter should create undefined step in HTML report$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });