JBehave

Allow embedder to generate stories view after running them

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

Moving stories view generation concern to the embedder would allow the view to be generated after the stories are run (each with their single story report generation). We can then avoid the two-phase process currently in 2.x and have it all performed in a single execution via Maven or Ant. The embedder is also aware of the configuration used to generate the reports, so we can reduce need/risk of configuration mismatch.

The view generation should be on by default, but with ability to disable via a runtime flag.

Activity

Hide
Mauro Talevi added a comment -

Added renderReportsAfterStories=[true|false] flag (defaulting to true) to Ant/Maven run stories entry points.

Show
Mauro Talevi added a comment - Added renderReportsAfterStories=[true|false] flag (defaulting to true) to Ant/Maven run stories entry points.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: