Hi Hans,

the issue has been noted and fixed. The given stories were only executed at scenario level but not at story level.

A new 4.0-beta-7 is being released.

Cheers

On 02/05/2014 11:36, Hans Schwäbli wrote:
Somehow GivenStories does not work as expected in the 4.x branch. It is not executed.
But when I use jbehave-core 3.9, then the GivenStories are executed.
See my example below. It is in German, I changed the story language. GivenStories is "VorgegebeneStories". Maybe this information is enough to help me. Otherwise I can commit the example somewhere. It is not so easy from within a company in the financial industry since prevents any cloud access, including Github.
Story:
Bei Bestellungen muss geprüft werden, ob Rabatte gelten.
Ausserdem werden bei einem hohen Warenwert keine Versandkosten berechnet.

Meta:
@Komponente Bestellung
@Anforderung Y1776
@Verfasser Guybrush Threepwood

Erzählung:
Um Angebote und Rechnungen zu erstellen
Als ein Sachbearbeiter im Verkauf
Möchte ich Rabatte, Versandkosten und Lagerbestand berücksichtigen

VorgegebeneStories: shop/stories/Login.story

Szenario: Kleine Menge wird bestellt
Gegeben im Lager sind 300 T-Shirts



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to