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.