org.jbehave.core
Interface Embeddable

All Known Implementing Classes:
ConfigurableEmbedder, InjectableEmbedder, JUnitStories, JUnitStory, JUnitStoryMaps

public interface Embeddable

Represents a runnable facade to the Embedder.

Users can either extend the abstract implementation ConfigurableEmbedder, which does not implement the run() method, or other implementations, such as JUnitStory or JUnitStories, which implement run() using JUnit's Test annotation.

Other test frameworks can be supported in much the same way, by extending the abstract implementation and implementing run().

See Also:
ConfigurableEmbedder, InjectableEmbedder, JUnitStory, JUnitStories

Method Summary
 void run()
           
 void useEmbedder(Embedder embedder)
           
 

Method Detail

useEmbedder

void useEmbedder(Embedder embedder)

run

void run()
         throws Throwable
Throws:
Throwable


Copyright © 2003-2011. All Rights Reserved.