سؤال

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