Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      As a story developer, I want to load stories via URLs, not necessarily in the classpath.

      This can be used, e.g. to retrieve stories from wikis.

        Activity

        Hide
        Christian Blavier added a comment -

        Hi, could you give me some advice about the way to implement such a feature ? (since I have no clue about the way jBehave is working)
        A kind of ScenarioFactory that fetches scenarios from http ressources

        Thanks

        Show
        Christian Blavier added a comment - Hi, could you give me some advice about the way to implement such a feature ? (since I have no clue about the way jBehave is working) A kind of ScenarioFactory that fetches scenarios from http ressources Thanks
        Hide
        Mauro Talevi added a comment -

        JBehave is designed to be component-oriented with clear interface-implementation separation.

        For the case at hand we'd need to provide an implementation of the ScenarioDefiner interface. You can start from the ClasspathScenarioDefiner as a guideline for the URLScenarioDefiner. Also you should look at the ScenarioFileLoaderBehaviour (which should be renamed to ClasspathScenarioDefinerBehaviour).

        Any questions, just post it on the mailing list and we'll help you.

        Thanks

        Show
        Mauro Talevi added a comment - JBehave is designed to be component-oriented with clear interface-implementation separation. For the case at hand we'd need to provide an implementation of the ScenarioDefiner interface. You can start from the ClasspathScenarioDefiner as a guideline for the URLScenarioDefiner. Also you should look at the ScenarioFileLoaderBehaviour (which should be renamed to ClasspathScenarioDefinerBehaviour). Any questions, just post it on the mailing list and we'll help you. Thanks
        Mauro Talevi made changes -
        Field Original Value New Value
        Summary URL-based scenario definer URL-based StoryLoader
        Assignee Mauro Talevi [ maurotalevi ]
        Fix Version/s 3.0 [ 16302 ]
        Description As a scenario developer, I want to access scenarios definable via URLs, not necessarily in the classpath.

        This can be used, e.g. to retrieve scenarios from wikis.

        As a story developer, I want to load stories via URLs, not necessarily in the classpath.

        This can be used, e.g. to retrieve stories from wikis.

        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Mauro Talevi
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: