org.camunda.bpm.bdd
Class JUnitTestBase

java.lang.Object
  extended by org.jbehave.core.ConfigurableEmbedder
      extended by org.jbehave.core.junit.JUnitStories
          extended by org.camunda.bpm.bdd.JUnitTestBase
All Implemented Interfaces:
org.jbehave.core.Embeddable

public abstract class JUnitTestBase
extends org.jbehave.core.junit.JUnitStories

Base class for JUnit based tests.

Author:
Simon Zambrovski, holisticon AG

Constructor Summary
JUnitTestBase()
           
 
Method Summary
 org.jbehave.core.configuration.Configuration configuration()
           
 Set<org.needle4j.injection.InjectionProvider<?>> getInjectionProviders()
          Retrieves the list of injection providers.
abstract  Class<?>[] getStepClasses()
           
protected  URL getStoryLocation()
           
 org.jbehave.core.steps.InjectableStepsFactory stepsFactory()
           
 List<String> storyPaths()
           
 
Methods inherited from class org.jbehave.core.junit.JUnitStories
run
 
Methods inherited from class org.jbehave.core.ConfigurableEmbedder
addSteps, addSteps, candidateSteps, configuredEmbedder, hasConfiguration, hasStepsFactory, useConfiguration, useEmbedder, useStepsFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitTestBase

public JUnitTestBase()
Method Detail

configuration

public org.jbehave.core.configuration.Configuration configuration()
Overrides:
configuration in class org.jbehave.core.ConfigurableEmbedder

getStoryLocation

protected URL getStoryLocation()

stepsFactory

public org.jbehave.core.steps.InjectableStepsFactory stepsFactory()
Overrides:
stepsFactory in class org.jbehave.core.ConfigurableEmbedder

storyPaths

public List<String> storyPaths()
Specified by:
storyPaths in class org.jbehave.core.junit.JUnitStories

getStepClasses

public abstract Class<?>[] getStepClasses()

getInjectionProviders

public Set<org.needle4j.injection.InjectionProvider<?>> getInjectionProviders()
Retrieves the list of injection providers.

Returns:
list of injection providers, including the one for Camunda support.


Copyright © 2014 camunda services GmbH. All rights reserved.