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

JUnit Run Viewer does not show Given When Then hierarchy #1425

Closed
pradeep-baskaran opened this issue Jul 26, 2018 · 2 comments
Closed

JUnit Run Viewer does not show Given When Then hierarchy #1425

pradeep-baskaran opened this issue Jul 26, 2018 · 2 comments

Comments

@pradeep-baskaran
Copy link

Initially raised in serenity-cucumber, but looks an issue with cucumber JVM.
serenity-bdd/serenity-cucumber-starter#6

Old version does show the hierarchy. This is very good during debugging.

    <serenity.version>1.5.11</serenity.version>
    <serenity.maven.version>1.5.3</serenity.maven.version>
    <serenity.cucumber.version>1.5.4</serenity.cucumber.version>

old version

Newer version does not show the hierarchy.
new version

@mpkorstanje
Copy link
Contributor

mpkorstanje commented Jul 26, 2018

This is intentional. We were mapping steps to JUnit tests which causes problems with other JUnit integrations. You can still enable the old behavior with @CucumberOptions(junit = "--step-notifications")

See: https://github.com/cucumber/cucumber-jvm/blob/master/CHANGELOG.md

[JUnit] Add --[no-]step-notifications option to JunitOptions (no step notifications is the default) (#1135, #1159, #263, #935, #577 M.P. Korstanje, Björn Rasmusson)

@lock
Copy link

lock bot commented Jul 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants