How to filter the scenarios that will execute @BeforeScenario?

3

I have a series of scenarios in demoiselle-behave, and I want to filter those that should execute a method marked with @BeforeScenario .

In cucumber-jvm , I do this:

Funcionalidade: Acesso
@web
Cenário: Autenticar com sucesso
    // Passos

...

@Before("@web")
public void antesDosCenariosWeb() {...}

And he understands that all scenarios / features marked with that tag, will execute that method.

    
asked by anonymous 14.02.2014 / 12:23

0 answers