Search code examples
pythontestinglettuce

how to specify which lettuce scenario to run


how to specify which lettuce scenario to run?

in using python lettuce test framework, I ran frequently into this case, one scenario failed and then I want to zoom in to this scenario to fix this scenario

can we specify which lettuce scenario to run in the feature file ?


Solution

  • in the documentation specified by JohnWang we have documentations like this to achieve:

    lettuce xxx.feature -s 1,2,3