-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linter does not validate scenarios with examples #26
Comments
I tried a couple likely Gherkin dialects but couldn't get your samples to parse, in order to see how they run. I think that this kind of feature is what you are describing
but I am not seeing the behavior that you are describing. Cucumber treats the scenarios as outlines whether they use Are you running a less recent version of Cucumber that treats these two scenarios differently? |
I use cucumber 7.1 but for execution I use the gem parallel_cucumber |
Utilizo o pepino 7.1 mas para execução utilizo a gem parallel_cucumber |
Hello, today we are having a recurring problem where it happens that sometinmes our QAs create Scenarios with examples and not Scnarios Schemes in the gherkin code, with this it generates some problems such as missing executions due to the schemes not being considered, in this case we wanted to that the linter validated if a scenario had examples it would be barred so that it clould be change to the scenario scheme.
bad example:
@#charlan_bettiol
@%validar
Scenario: Validar campos
Dado realizar o login
E clicar no mercado
Quando adicionar "1" produto "teste" ao
E inserir "1233" para calcular o frete
E clicar em comprar
E validar os "" de cadastro do endereco
Então verificar se esta ok
Exemplos:
| campos |
| nome |
| tipo |
| numero |
good example:
@#charlan_bettiol
@%validar
Scenario outline: Validar campos
Dado realizar o login
E clicar no mercado
Quando adicionar "1" produto "teste" ao
E inserir "1233" para calcular o frete
E clicar em comprar
E validar os "" de cadastro do endereco
Então verificar se esta ok
Exemplos:
| campos |
| nome |
| tipo |
| numero |
The text was updated successfully, but these errors were encountered: