Skip to content

Instantly share code, notes, and snippets.

@maggandalf
Created April 20, 2011 17:05
Show Gist options
  • Select an option

  • Save maggandalf/931953 to your computer and use it in GitHub Desktop.

Select an option

Save maggandalf/931953 to your computer and use it in GitHub Desktop.
JBehave Spring Configuration File
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean class="org.jbehave.core.io.LoadFromClasspath">
<constructor-arg>
<bean class="org.jbehave.core.embedder.EmbedderClassLoader">
<constructor-arg>
<list>
<value>target/classes</value>
</list>
</constructor-arg>
</bean>
</constructor-arg>
</bean>
<bean class="org.jbehave.core.parsers.RegexPrefixCapturingPatternParser">
<constructor-arg value="$" />
</bean>
<bean class="org.jbehave.core.configuration.spring.SpringStoryControls">
<property name="dryRun" value="false" />
<property name="skipScenariosAfterFailure" value="false" />
</bean>
<bean
class="org.jbehave.core.configuration.spring.SpringStoryReporterBuilder"
init-method="withDefaultFormats">
<property name="formats">
<list>
<value>CONSOLE</value>
<value>TXT</value>
<value>HTML</value>
<value>XML</value>
</list>
</property>
</bean>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment