JBehave
  1. JBehave
  2. JBEHAVE-718

Allow transformation of example tables

    Details

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

      Description

      By using ExampleTable, I would use this format

      Header1 value1
      Header2 value2
      Header3 value3

      Currently we can only use this way:

      Header1 Header2 Header3
      value1 value2 value3

      thks

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Assignee Mauro Talevi [ maurotalevi ]
        Fix Version/s 3.x [ 16979 ]
        Mauro Talevi made changes -
        Comment [ I would see it possible to add a transforming pipeline so that we an plugin any form of transformation into the standard format. ]
        Mauro Talevi made changes -
        Fix Version/s 3.6.4 [ 18434 ]
        Fix Version/s 3.x [ 16979 ]
        Affects Version/s 3.6 [ 17721 ]
        Component/s Core [ 11086 ]
        Mauro Talevi made changes -
        Summary Example Table |Header1|value1| Allow transformation of example tables
        Mauro Talevi made changes -
        Comment [ We could add a plubbable mechanism to allow the transformation from any layout (or even format) ]
        Hide
        Mauro Talevi added a comment -

        Added TableTransformers to ExamplesTableFactory to allow registration of custom transformers. A FromLandscape trasformer has been added by default. Use inlined property to specify transformation from landscape:

        {transformer=FROM_LANDSCAPE}
        
        Show
        Mauro Talevi added a comment - Added TableTransformers to ExamplesTableFactory to allow registration of custom transformers. A FromLandscape trasformer has been added by default. Use inlined property to specify transformation from landscape: {transformer=FROM_LANDSCAPE}
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mauro Talevi made changes -
        Fix Version/s 3.7 [ 18390 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Felipe Santos da Rocha
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: