JBehave
  1. JBehave
  2. JBEHAVE-546

Reports are not showing properly, all are showing as Zero

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: 3.1.1, 3.4.5
    • Fix Version/s: 3.5
    • Component/s: Core, IDE Support, Maven Plugin
    • Environment:
      Windows XP2, used maven-dependency-plugin for jbehave-site-resources 3.1.1, jbehave-maven-plugin 3.4.5, junit 4.8.2, jbehave core 3.4.5.
    • Testcase included:
      yes
    • Number of attachments :
      1

      Description

      i used an example to create JBehave Scenarios, i fallowed as given in the Jbehave documentation but facing a problem getting report generated.
      i didn't find the solution to get count the scenarios and Steps or testcases.
      is their any configuration i am missing?
      i am attaching all the files used.
      Thank you in Advance.

        Activity

        Hide
        Mauro Talevi added a comment -

        You're missing the stats, which are used in the report generation. You can either invoke withDefaultFormats() on the StoryReporterBuilder, or add Format.STATS directly to withFormats().

        You may also use archetypes to get started on a project:

        http://jbehave.org/reference/stable/archetypes.html

        Show
        Mauro Talevi added a comment - You're missing the stats, which are used in the report generation. You can either invoke withDefaultFormats() on the StoryReporterBuilder, or add Format.STATS directly to withFormats(). You may also use archetypes to get started on a project: http://jbehave.org/reference/stable/archetypes.html

          People

          • Assignee:
            Unassigned
            Reporter:
            Chandra Sekhar K
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2 days
              2d
              Remaining:
              Remaining Estimate - 2 days
              2d
              Logged:
              Time Spent - Not Specified
              Not Specified