On 1 Dec 2008, at 02:45, Peter Jaros wrote:

The Autotest support in Cucumber doesn't currently associate any files
with specific scenarios.  It only keeps track of failed scenarios.  If
any are failing, changing any file will run those scenarios.  If
everything has been passing, changing any file will run the whole
feature suite.

Features should be orthogonal to your classes, so there's no good way
to associate a scenario with the classes it tests.

I've been thinking about a more sophisticated mechanism for this, using code coverage. If autotest / rspactor was able to record and remember the LOC covered by each scenario / example, it would be possible to do more focussed regression testing when a source file was changed.

That's as far as I've got: an idea. I just though I'd mention it in case anyone has time on their hands... ;)

Matt Wynne
[EMAIL PROTECTED]



_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to