JBehave
  1. JBehave
  2. JBEHAVE-362

Convert story name in report to human readable form

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Another good suggestion from feedback. Convert:

      • trader_sells_stocks.story -> Trader Sells Stocks

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Assignee Mauro Talevi [ maurotalevi ]
        Hide
        Mauro Talevi added a comment -

        Added StoryNameResolver and UnderscoredToCapitalized implementation.

        Show
        Mauro Talevi added a comment - Added StoryNameResolver and UnderscoredToCapitalized implementation.
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Brian Repko added a comment -

        We could add a StoryNarrative implementation that returns the description after the narrative.

        Either that or add a Story name property and use that if it is not empty.

        Show
        Brian Repko added a comment - We could add a StoryNarrative implementation that returns the description after the narrative. Either that or add a Story name property and use that if it is not empty.
        Hide
        Nagy László added a comment -

        Any easy way to use the name of story on report (first line of the .story file)? I am trying to write a nameresolver which is excavate the name from story html.

        Show
        Nagy László added a comment - Any easy way to use the name of story on report (first line of the .story file)? I am trying to write a nameresolver which is excavate the name from story html.
        Hide
        Mauro Talevi added a comment -

        Please use mailing lists for these kind of questions (http://jbehave.org/mailing-lists.html).

        Do not comment on old resolved issues.

        Show
        Mauro Talevi added a comment - Please use mailing lists for these kind of questions ( http://jbehave.org/mailing-lists.html ). Do not comment on old resolved issues.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: