JBehave
  1. JBehave
  2. JBEHAVE-662

Total exclusion of excluded stories from reports

    Details

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

      Description

      Consider - mvn clean install -Dmeta.filter="groovy: color == 'xxx'"

      ==================================
      Some of the output will be :
      ==================================
      (BeforeStories)

      [INFO] Running story etsy_browse.story
      Browse Etsy.com
      (etsy_browse.story)
      Meta:
      @category browsing
      @color red

      [INFO] Meta[properties=

      {narrative=Narrative[inOrderTo=show the browsing cart functionality,asA=user,iWantTo=browse in a gallery], color=red, description=Browse Etsy.com, category=browsing, path=etsy_browse.story}

      ] excluded by filter 'groovy: color == 'xxx''
      [INFO] Meta[properties=

      {givenStories=, narrative=Narrative[inOrderTo=show the browsing cart functionality,asA=user,iWantTo=browse in a gallery], color=red, examplesTable=, description=Browse Etsy.com, category=browsing, path=etsy_browse.story, title=Browsing around the site for items}

      ] excluded by filter 'groovy: color == 'xxx''
      groovy: color == 'xxx'

      [INFO] Running story etsy_cart.story
      ShoppingCart functionality for Etsy.com
      (etsy_cart.story)
      Meta:
      @category basic
      @color blue

      [INFO] Meta[properties=

      {narrative=Narrative[inOrderTo=show the basic cart functionality,asA=user,iWantTo=add and remove items from the cart], color=blue, description=ShoppingCart functionality for Etsy.com, category=basic, path=etsy_cart.story}

      ] excluded by filter 'groovy: color == 'xxx''
      [INFO] Meta[properties=

      {givenStories=, narrative=Narrative[inOrderTo=show the basic cart functionality,asA=user,iWantTo=add and remove items from the cart], color=blue, examplesTable=, description=ShoppingCart functionality for Etsy.com, category=basic, path=etsy_cart.story, title=Item can be added to cart}

      ] excluded by filter 'groovy: color == 'xxx''
      [INFO] Meta[properties=

      {givenStories=, narrative=Narrative[inOrderTo=show the basic cart functionality,asA=user,iWantTo=add and remove items from the cart], color=blue, examplesTable=, description=ShoppingCart functionality for Etsy.com, category=basic, path=etsy_cart.story, title=Item can be removed from cart}

      ] excluded by filter 'groovy: color == 'xxx''
      groovy: color == 'xxx'

      [INFO] Running story etsy_pending.story
      Pending Etsy.com stories
      (etsy_pending.story)
      Meta:
      @category development

      [INFO] Meta[properties=

      {narrative=Narrative[inOrderTo=allow stories to written before they're implemented,asA=user,iWantTo=allow pending stories], description=Pending Etsy.com stories, category=development, path=etsy_pending.story}

      ] excluded by filter 'groovy: color == 'xxx''
      [INFO] Meta[properties=

      {givenStories=, narrative=Narrative[inOrderTo=allow stories to written before they're implemented,asA=user,iWantTo=allow pending stories], examplesTable=, description=Pending Etsy.com stories, category=development, path=etsy_pending.story, title=Functionality not yet implemented}

      ] excluded by filter 'groovy: color == 'xxx''
      groovy: color == 'xxx'

      [INFO] Running story etsy_search.story
      Search Etsy.com by sub category
      (etsy_search.story)
      Meta:
      @category advanced
      @color red

      [INFO] Meta[properties=

      {narrative=Narrative[inOrderTo=show the advance cart functionality,asA=user,iWantTo=search for an item in a sub category], color=red, description=Search Etsy.com by sub category, category=advanced, path=etsy_search.story}

      ] excluded by filter 'groovy: color == 'xxx''
      [INFO] Meta[properties=

      {givenStories=, narrative=Narrative[inOrderTo=show the advance cart functionality,asA=user,iWantTo=search for an item in a sub category], color=red, examplesTable=, description=Search Etsy.com by sub category, category=advanced, path=etsy_search.story, title=Advanced Search for a hat}

      ] excluded by filter 'groovy: color == 'xxx''
      [INFO] Meta[properties=

      {givenStories=, narrative=Narrative[inOrderTo=show the advance cart functionality,asA=user,iWantTo=search for an item in a sub category], color=red, examplesTable=, description=Search Etsy.com by sub category, category=advanced, path=etsy_search.story, title=Advanced Search for a ring}

      ] excluded by filter 'groovy: color == 'xxx''
      groovy: color == 'xxx'

      (AfterStories)

      =========================================
      It would be better if the output were:
      =========================================

      (BeforeStories)

      4 tests excluded because of filter.

      (AfterStories)

      ==========

      Not just for console output but it would be much better if the vestige XML, HTML, .stats files were gone too.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Assignee Mauro Talevi [ maurotalevi ]
        Fix Version/s 3.6 [ 17721 ]
        Mauro Talevi made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Mauro Talevi made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: