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

Updated scenario data driven steps processing for report - now report will contains steps as for first scenario #349

Merged
merged 3 commits into from Mar 10, 2016

Conversation

YamStranger
Copy link
Member

Summary of this PR

Updated scenario data driven steps processing for report - now report will contains steps as for first scenario

Intended effect

For data driven junit test scenario in report will contains steps from first test case. For example:

    @Test
    public void happy_day_scenario() {
        steps.GivenSomeParameter(option1, option2);
        steps.WhenDoingSome(option1, option2);
        steps.ThenShouldBeNext(option1, option2);

    }

will appear as 3 steps on scenario

How should this be manually tested?

You can create data driven test and steps used in test will be included in report under scenario as 3 steps

Side effects

N/A

Documentation

serenity-documentation/issues/63

Relevant tickets

#338

Screenshots (if appropriate)

before:
before

after:
after

…eport will contains steps as from first scenario
YamStranger added a commit that referenced this pull request Mar 10, 2016
Updated scenario data driven steps processing for report - now report will contains steps as for first scenario
@YamStranger YamStranger merged commit cba9f6c into serenity-bdd:master Mar 10, 2016
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.

None yet

2 participants