org.camunda.bpm.bdd
Class JBehaveTestBase

java.lang.Object
  extended by org.jbehave.core.InjectableEmbedder
      extended by org.camunda.bpm.bdd.JBehaveTestBase
All Implemented Interfaces:
org.jbehave.core.Embeddable

@UsingEmbedder(embedder=org.jbehave.core.embedder.Embedder.class,
               generateViewAfterStories=true,
               ignoreFailureInStories=false,
               ignoreFailureInView=false,
               verboseFailures=true)
@Configure(stepMonitor=org.jbehave.core.steps.PrintStreamStepMonitor.class,
           pendingStepStrategy=org.jbehave.core.failures.FailingUponPendingStep.class,
           stepdocReporter=org.jbehave.core.reporters.PrintStreamStepdocReporter.class,
           storyReporterBuilder=JBehaveTestBase.RichReporterBuilder.class)
public abstract class JBehaveTestBase
extends org.jbehave.core.InjectableEmbedder

Base class for JBehave tests.

Author:
Simon Zambrovski, holisticon AG

Nested Class Summary
static class JBehaveTestBase.RichReporterBuilder
          Own report builder.
 
Constructor Summary
JBehaveTestBase()
           
 
Method Summary
protected  URL getStoryLocation()
          Retrieves the location of the stories.
 void run()
           
protected  List<String> storyPaths()
          Retrieves the location of the stories.
 
Methods inherited from class org.jbehave.core.InjectableEmbedder
injectedEmbedder, useEmbedder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBehaveTestBase

public JBehaveTestBase()
Method Detail

getStoryLocation

protected URL getStoryLocation()
Retrieves the location of the stories.
This method is intended to be overwritten on divergent location for stories than src/test/resources

Returns:
location of the stories to look for.

storyPaths

protected List<String> storyPaths()
Retrieves the location of the stories.


run

public void run()


Copyright © 2014 camunda services GmbH. All rights reserved.