JBehave
  1. JBehave
  2. JBEHAVE-408

GivenStories should be able to be loaded relative to the story depending on them.

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.2
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      It should be possible to have given stories included relative to the story including them, as this makes it easier to re-organise the stories without changing the paths.

        Activity

        Hide
        Daniel Godfrey added a comment -

        Making them relative, means you can simply move a whole load of stories into a sub-folder, without having to change the stories to re-point the given stories at the new location.

        I've pushed a patch to https://github.com/dgodfrey/jbehave-core/tree/jbehave_408.

        Show
        Daniel Godfrey added a comment - Making them relative, means you can simply move a whole load of stories into a sub-folder, without having to change the stories to re-point the given stories at the new location. I've pushed a patch to https://github.com/dgodfrey/jbehave-core/tree/jbehave_408 .
        Mauro Talevi made changes -
        Field Original Value New Value
        Fix Version/s 3.2 [ 16757 ]
        Hide
        Mauro Talevi added a comment -

        Hi Dan, I've pulled patch. I'd be good if we also had an example of using given stories with relative path calculator.

        Show
        Mauro Talevi added a comment - Hi Dan, I've pulled patch. I'd be good if we also had an example of using given stories with relative path calculator.
        Mauro Talevi made changes -
        Assignee Mauro Talevi [ maurotalevi ]
        Mauro Talevi made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Mauro Talevi added a comment -

        Added trader example given_relative_path_story.story to verify behaviour.

        Show
        Mauro Talevi added a comment - Added trader example given_relative_path_story.story to verify behaviour.
        Mauro Talevi made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Daniel Godfrey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: