JBehave
  1. JBehave
  2. JBEHAVE-886

Use ParametisedStep in StepMonitors

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.9
    • Fix Version/s: 3.8
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Web
    • Number of attachments :
      1

      Description

      When using a ParameterisedStep it makes sense to pass to the stepMonitor the value of the ParamterisedStep and not stepAsString. This enables the actual substituted values visible when monitoring running tests.

      For example, instead of the LocalFrameContextView showing:

      "Given the username is <name>"

      It would be better if it showed:

      "Given the username is (bob)"

      It is clear from the intent that this is the value being used and that it has been replaced during runtime.

      A patch file for StepCreator.java will be attached to this JIRA shortly.

      =david=

        Activity

        David Harrigan made changes -
        Field Original Value New Value
        Attachment 0001-JBEHAVE-886.patch [ 62659 ]
        Hide
        David Harrigan added a comment -

        Patch added.

        Show
        David Harrigan added a comment - Patch added.
        Mauro Talevi made changes -
        Component/s Core [ 11086 ]
        Component/s Web Selenium [ 14124 ]
        Hide
        Mauro Talevi added a comment -

        Applied with thanks.

        Show
        Mauro Talevi added a comment - Applied with thanks.
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mauro Talevi made changes -
        Fix Version/s 3.8 [ 19104 ]
        Fix Version/s 3.7.6 [ 19035 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            David Harrigan
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: