Hello,<br><br>I have a suggestion on plain text stories and how unimplemented Scenarios are regarded.<br><br>When a Scenario has no Give/When/Body mark it as 'pending' rather than 'completed' as it does now.<br>
<br>This would mean it would work like spec's 'it':<br><br>Example:<br>------------------------------<div>--------------------<br>it "eat"<br>it "sleep"<br>
it "be merry"<br>--------------------------------------------------<br>
3 pending/ Yet to be implemented<br><br><br>How I think Stories should work<br>--------------------------------------------------<br>Story: monkeys<br><br>Scenario: eat<br>Scenario: sleep<br>Scenario: be merry<br>--------------------------------------------------<br>
<br>What I think it should output:<br><br>>3 scenarios: 0 succeeded, 0 failed, 3 pending (Perhaps like specs a 'Yet to be implemented' is shown aswell)<br><br>What is actually outputs:<br><br>>3 scenarios: 3 succeeded, 0 failed, 0 pending<br>
<br><br>When I write a new story I first create all the Scenarios names
and then go through implementing the most important (as dictated by the
client). Often I leave scenarios not deemed important by the client
yet, but do provided potential further work. It would be very useful if
those where marked as pending.<br>
<br>I'm happy to put a patch together but wanted to check with the community that what I'm saying is sound.<br>What do people think? Was there a particular reason why empty scenarios are marked as success?<br><br>
Thanks,<br><font color="#888888">Joseph Wilk<br><a href="http://www.joesniff.co.uk/" target="_blank">http://www.joesniff.co.uk</a></font></div>