[
http://jira.codehaus.org/browse/JBEHAVE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mauro Talevi updated JBEHAVE-307:
---------------------------------
Description:
The name RunnableStory has become outdated and does not reflect the fact that
we can run multiple stories or even have access to other Embedder
functionality. Embeddable is a more generic name that's better suited.
The two methods that should remain in Embeddable are:
void useEmbedder(Embedder);
void run();
The other methods that were previously in RunnableStory can live in abstract
implementations, such as ConfigurableEmbedder which JUnitStory extends and
allows the configuration of the embedder for execution of a single story.
was:
RunnableStory getter methods are now redundant. They could lead to confusion
as users may override them believing they would be used by the story embedder.
Summary: Renamed interface RunnableStory -> Embeddable and remove
redundant methods (was: Remove redundant getter methods in RunnableStory)
> Renamed interface RunnableStory -> Embeddable and remove redundant methods
> --------------------------------------------------------------------------
>
> Key: JBEHAVE-307
> URL: http://jira.codehaus.org/browse/JBEHAVE-307
> Project: JBehave
> Issue Type: Improvement
> Components: Core
> Reporter: Mauro Talevi
> Assignee: Mauro Talevi
> Priority: Minor
> Fix For: 3.0
>
>
> The name RunnableStory has become outdated and does not reflect the fact that
> we can run multiple stories or even have access to other Embedder
> functionality. Embeddable is a more generic name that's better suited.
> The two methods that should remain in Embeddable are:
> void useEmbedder(Embedder);
> void run();
> The other methods that were previously in RunnableStory can live in abstract
> implementations, such as ConfigurableEmbedder which JUnitStory extends and
> allows the configuration of the embedder for execution of a single story.
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email