3
I have a number of scenarios in Démoiselle-behave, and I want to filter those who should perform a method marked with @BeforeScenario
.
In the Cucumber-jvm, I do so:
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.