I try to play around with Specs2 GWT ( http://etorreborre.github.io/specs2/guide/org.specs2.guide.structure.GivenWhenThenPage.html), but I wonder how to write multiple test scenarios, I cant find documents related to that.

Many thanks in advance

有帮助吗?

解决方案

It's pretty easy, you only have to add the second scenario to your test (after ending the first).

There exists an example on the github page containing two scenarios.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top