JBehave
  1. JBehave
  2. JBEHAVE-178

Allow output patterns to be overridden and localised in PrintStreamScenarioReporter

    Details

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

      Description

      Cristiano Gavião requested on list:

      It would be useful to have PrintStreamScenarioReporter to allow overriding of the event output patterns.

      Also useful is the ability to allow full I18N of reporter messages (e.g. pending, not performed, failed).

        Activity

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

        Closed by mistake, meant to mark in progress

        Show
        Mauro Talevi added a comment - Closed by mistake, meant to mark in progress
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Mauro Talevi made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        Mauro Talevi made changes -
        Summary Allow output format message patterns to be overridden in PrintStreamScenarioReporter Allow output message patterns to be overridden in PrintStreamScenarioReporter
        Mauro Talevi made changes -
        Summary Allow output message patterns to be overridden in PrintStreamScenarioReporter Allow output patterns to be overridden and localised in PrintStreamScenarioReporter
        Description Cristiano Gavião requested on list:

        It would be useful to have PrintStreamScenarioReporter to be extendable and allow overriding of the messages methods.

        This can also be used as a base class for an I18N impl of reporter that could look the message format pattern via locale bundles.



        Cristiano Gavião requested on list:

        It would be useful to have PrintStreamScenarioReporter to allow overriding of the event output patterns.

        Also useful is the ability to allow full I18N of reporter messages (e.g. pending, not performed, failed).




        Hide
        Mauro Talevi added a comment -

        Done, see PrintStreamScenarioReporterBehaviour and it_trader_is_alerted_of_status.scenario for examples of full i18n-ed scenario reporting.

        Show
        Mauro Talevi added a comment - Done, see PrintStreamScenarioReporterBehaviour and it_trader_is_alerted_of_status.scenario for examples of full i18n-ed scenario reporting.
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: