JBehave
  1. JBehave
  2. JBEHAVE-387

Allow ExamplesTable to be loaded from external resources

    Details

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

      Description

      At times it may be convenient to load the content of an examples table from an external resource, be it from classpath or URL. The default resource loader will be the URL-based one as it does not require any additional configuration, unlike the classpath-based one that requires the class from which to derive the classloader.

      The ExamplesTableConverter should be able to handle both cases (textual table input or resource path input) via the use of an ExamplesTableFactory.

      The RegexStoryParser should also allow the use of the ExamplesTableFactory.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Mauro Talevi added a comment -

        Behaviour verified in trader example (examples_table_loaded_from_classpath.story)

        Show
        Mauro Talevi added a comment - Behaviour verified in trader example (examples_table_loaded_from_classpath.story)
        Mauro Talevi made changes -
        Fix Version/s 3.2 [ 16757 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: