We are trying to use GivenStories to ensure prerequisite stories are run
but are having a few problems. We really have a need to be able to declare
a story as a given story on multiple stories but only have it run once,
regardless of how many times it's declared. For example, we have a story
that create a new user in the system, that if called multiple times causes
errors, however we have multiple stories that require that user to be
there. We'd like to be able to declare the createUser.story as a GivenStory
for multiple other stories but also be able to mark it so that it's
executed only once, kind of like a singleton story.

Is that possible today? If not, is there a good workaround? I also can't
find a way to make a scenario/step/story run conditionally.

Thanks,
Chris

Reply via email to