Paul Hammant created JBEHAVE-662:
------------------------------------

             Summary: Total exclusion of excluded stories from reports
                 Key: JBEHAVE-662
                 URL: https://jira.codehaus.org/browse/JBEHAVE-662
             Project: JBehave
          Issue Type: Improvement
          Components: Core
    Affects Versions: 3.5.4
            Reporter: Paul Hammant
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to