Locating Stories

In JBehave, stories can be located locally, i.e. in class path, or externally, locatable via URLs. Depending on where the stories are located, an appropriate StoryLoader needs to be defined:

By default, JBehave expects stories to be written in plain text, but also supports other formats as long as these can be converted to a textual which is then parsed by the StoryParser.

More details and examples can be found in Configuration page.

Stories in ODT Format

JBehave supports OpenDocument Text format via the ODF Toolkit:

Stories in Google Docs

JBehave can locate stories stored as Google Docs:

  • LoadOdtFromGoogle for stories located in a configurable feed URI in Google Docs. User needs to provide the authentication credentials.