Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scenario Description #53

Merged
merged 6 commits into from
Aug 17, 2018
Merged

Scenario Description #53

merged 6 commits into from
Aug 17, 2018

Conversation

yoghi
Copy link
Contributor

@yoghi yoghi commented Jun 8, 2018

Added support to scenario description.

@@ -240,6 +240,10 @@ function generateReport(options) {
scenario.time = formatDuration(scenario.duration)
}

if (scenario.hasOwnProperty('description') && scenario.description) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I've seem scenario.description will always be a string, so the if(scenario.description) should be sufficient, or are there any other cases I'm not seeing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"description" is not mandatory on json structure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok?

@wswebcreation
Copy link
Collaborator

Sorry for my late reaction, but this looks good, tnx. Can you please check my comment?

Tnx!

@wswebcreation wswebcreation merged commit c444464 into WasiqB:master Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants