Hi all, Is there a way to recognize from the code itself (for example from the TestStorySteps file) the Scenario that is currently being executed? Through a tag? through a comment? or any other way? I don't want to use a parameter from the Table parameters section.
thanks! Betina --- El mié 1-dic-10, Betina Perez <[email protected]> escribió: De: Betina Perez <[email protected]> Asunto: Only run 1 single scenario from a Story Para: [email protected] Fecha: miércoles, 1 de diciembre de 2010, 18:19 Hi all, I'd like to know if it is possible to run only a single scenario from a Story. Let's say I have the following Story1 Scenario: scenario1 Given something When something happens Then something is changed Scenario: scenario2 Given something When something happens Then something is changed Scenario: scenario3 Given something When something happens Then something is changed But I decided to run as a regression testing only Scenario3... is that possible? I mean, without commenting the other 2 :) thanks Betina
