Registering your Steps in the Web Runner

The Web Runner is a webapp that allows users to run any generic textual scenario. In order to do this, the appropriate JBehave Steps instances required to match the textual steps need to be registered with the application.

Maven users can model their own module on the trader runner example

Ant users can download the web distribution from download page

Customising the Web Runner resources

The Web Runner comes with default web resources, but these can be overridden by adding them to the src/main/webapp directory. Only custom resources that override the default ones are required. So, e.g. to change the default style, only src/main/webapp/style/jbehave/jbehave.css needs to be added. Similary, to change home page template, only src/main/webapp/ftl/home.ftl is needed. If any of these are removed the defaults will apply.