Tahir,

http://jbehave.org/reference/stable/running-examples.html

In the trader example, the meta_filtering.story has meta info you can
filter on.  Try running the stories with different filters:

cd trader
mvn clean install -Dmeta.filter="-skip"
or
mvn clean install -Dmeta.filter="+theme *"

and see the results in target/jbehave/view/reports.html:  the scenarios
or stories not allowed by filter will be reported.

If you still can't get it work, you may consider sending the simplest
possible project (buildable from source - no IDE, no jars please) that
shows your problem, so we can reproduce it.

Cheers
On 26/10/2010 20:19, Tahir Raza wrote:
> I still cant get tags to work. Same error.
> Do you have a working example that I can download?
>
> Thanks Mauro!
>
> On Wed, Oct 20, 2010 at 5:54 PM, Mauro Talevi
> <[email protected] <mailto:[email protected]>> wrote:
>
>     On 20/10/2010 22:55, Tahir Raza wrote:
>>     This is my Scenario:
>>
>>     Scenario: The objective of the test case is to verify that the
>>     3rd Party product offerings page functions as expected. (PREPPOSFN01)
>>
>>     Meta: @UseCase My first use case
>>         
>>     Given I access the site
>>     And I am an anonymous user
>>     When I click on the "Apply Now" link
>>     Then I should see text "Already have a Best Buy Credit Card
>>     account?" on the page
>>     And page title should be "Credit Cards"
>>
>>
>>     Still  getting the message:
>>
>>     Meta[properties={}] not allowed by filter '+UseCase'
>>
>>     Not sure what I am missing. 
>>
>     Sorry, my fault:  to match a meta filter with a non-blank value,
>     you need a filter that either provide an exact match of the value
>     (e.g. '+UseCase My first use case') or one that matches using the
>     * pattern (e.g. '+UseCase *' or '+UseCase * use case').
>
>     More documentation will be available soon.
>
>
>
>
> -- 
>
> Regards,
> Tahir Raza

Reply via email to