When will scenario tests be available in JUnit 5?

∥☆過路亽.° 提交于 2019-12-10 17:43:52

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!