JBehave
  1. JBehave
  2. JBEHAVE-414

Document generating StepDocs from a Embeddable instance

    Details

    • Type: Task Task
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.3, 3.5
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Step Docs pom xml needs an embedder, but not every project is going to have one. Etsy does not.

      Embeddable (EtsyDotComStories) makes an Embedder. Could it expose it for the StepDoc thingy to leverage?

      Alternatively, is it not really the Configuration that is needed by the reportStepdocs() method that the jbehave-plugin calls ? Could this be more flexible so that simpler cases that subclass JUnitStories ONLY can play with stepdocs production ?

        Activity

        Hide
        Mauro Talevi added a comment -

        What are you trying to achieve?

        Show
        Mauro Talevi added a comment - What are you trying to achieve?
        Hide
        Paul Hammant added a comment -

        Can StepDocs be made for the Etsy tutorial without new Java classes being made ?

        Show
        Paul Hammant added a comment - Can StepDocs be made for the Etsy tutorial without new Java classes being made ?
        Mauro Talevi made changes -
        Field Original Value New Value
        Summary ClassCastException: org.jbehave.tutorials.etsy.EtsyDotComStories cannot be cast to org.jbehave.core.embedder.Embedder (StepDocs issue) Document generating StepDocs from a Embeddable instance
        Issue Type Bug [ 1 ] Task [ 3 ]
        Fix Version/s 3.x [ 16979 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Component/s Core [ 11086 ]
        Mauro Talevi made changes -
        Assignee Mauro Talevi [ maurotalevi ]
        Fix Version/s 3.4.3 [ 17400 ]
        Fix Version/s 3.x [ 16979 ]
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mauro Talevi made changes -
        Fix Version/s 3.5 [ 17393 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: