JBehave
  1. JBehave
  2. JBEHAVE-308

Consolidate configuration objects

    Details

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

      Description

      Merge story and steps configurations into single Configuration object, that now use the builder pattern.

      The embedder controls should be accessible from the main configuration object in Java but should be overridable by the controls specified in the upstream entry points, such as Maven or Ant.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Mauro Talevi made changes -
        Summary Move configuration of stepdocs from StoryConfiguration to Embedder Make configuration elements coordinated
        Assignee Mauro Talevi [ maurotalevi ]
        Priority Minor [ 4 ] Major [ 3 ]
        Description The configuration of StepdocGenerator and StepdocReporter are better suited in the Embedder where they are used. A better coordination of different configuration objects (for story, steps and embedder) is desirable. Even if they are kept separate, because they address different concerns, they should be accessible from a parent configuration.

        Moreover, the embedder configuration controls as specified in Java code should be overridable by the controls specified in the upstream entry points, such as Maven or Ant.

        Mauro Talevi made changes -
        Summary Make configuration elements coordinated Consolidate configuration objects
        Description A better coordination of different configuration objects (for story, steps and embedder) is desirable. Even if they are kept separate, because they address different concerns, they should be accessible from a parent configuration.

        Moreover, the embedder configuration controls as specified in Java code should be overridable by the controls specified in the upstream entry points, such as Maven or Ant.

        Merge story and steps configurations into single Configuration object, that now use the builder pattern.

        The embedder controls should be accessible from the main configuration object in Java but should be overridable by the controls specified in the upstream entry points, such as Maven or Ant.

        Mauro Talevi made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: