问题
At a conference (JavaForum Stuttgart 2016) they said that JUnit 5 will include a feature to support scenario tests: http://2016.java-forum-stuttgart.de/de/Abstracts+Slot+1.html#art476
They said that TestNG has this feature already, but I don't know TestNG, so I don't know how that looks like.
I guess that would be something like in Allure with @Step annotations and the ability to name each step.
Is that still planned to implement before the initial version of JUnit 5 is released (general availability version)?
If it is not planned anymore to include into JUnit 5, then what alternative would you suggest?
回答1:
It is still planned, see issue #48. It is slated for Milestone 5, which is scheduled for December 30th. Note that the team already pushed back a couple of milestones, which makes it likely that this will not be the actual release date.
来源:https://stackoverflow.com/questions/39953375/when-will-scenario-tests-be-available-in-junit-5