Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1
-
Component/s: Maven Plugin
-
Labels:None
-
Number of attachments :
Description
Currently, only one story path can be specified.
Allow multiple story paths to be specified as relative to a story base dir - with includes/excludes patterns.
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mauro Talevi [ maurotalevi ] |
Mauro Talevi
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Mauro Talevi
made changes -
Status | In Progress [ 3 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
Two modes are now supported:
1. single story path -
<configuration>
<storyPath>org/jbehave/it/stories/it.story</storyPath>
<storyPackage>org.jbehave.it.stories</storyPackage>
</configuration>
2. multiple story paths -
<configuration>
<storyDirectory>org/jbehave/it/stories</storyDirectory>
<storyIncludes>
<storyInclude>it*.story</storyInclude>
</storyIncludes>
<storyExcludes>
<storyExclude>it1.story</storyExclude>
</storyExcludes>
<storyPackage>org.jbehave.it.stories</storyPackage>
</configuration>
where the includes/excludes filters follow the usual Ant/Maven conventions.
Note that in both modes the *.story resources are expected to be found in the classpath.