Running generic stories via a web-based interface
The Web Runner provides a simple web-based interface to running
generic stories. A typical use case is for BAs, QAs or stakeholders to
be able to access the results of story running without needing access
to developer resources.
A fully functional example webapp is provided in trader
runner example. We'll be using this example to illustrate the use of Web
Runner:
- Customise Web
Runner
- Deploy webapp to your favourite webapp container
- Open page http://localhost:8080/trader-runner
(assuming normal port conventions)
- On Menu, click on Run Story, which will take you
to a page where you can enter your textual story.
- Input textual story in textarea (e.g you can cut &
paste the scenario found in the trader
scenario) and click on Run Story link.
- Upon execution, the output of the story is shown below.
By default the same output is shown as the one you would see when
running JBehave via a command-line interface. This includes any
details of failed and pending steps. If any failures occur, the user
has be option to expand the stack trace.