How to execute particular scenario or feature ? #462
-
Hi, Is there any way to run certain scenario by giving a parameter to go run command ? Thanks for the help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello, could you share your command and what did you get as a result? For example if you run
in
Please keep in mind, that you need to change spaces to underscores (this is a limitation coming from how subtests are implemented in Go). If in doubt how scenario name is translated to subtest name, you can run full suite with
in the output you will find all scenarios with their fully qualified subtest names. |
Beta Was this translation helpful? Give feedback.
Hello, could you share your command and what did you get as a result?
For example if you run
in
godog
repo, it will only executePlease keep in mind, that you need to change spaces to underscores (this is a limitation coming from how subtests are implemented in Go).
If in doubt how scenario name is translated to subtest name, you can run full suite with
-v
flag, for example