Hi, I''m trying out RSpec with the heckle option (for mutation testing). Problem is that heckle goes into an infinite loop when running it on an example. I want to send a "--verbose" to heckle but can''t find a way to do that through the spec binary. Since this is not an uncommon situation when using heckle I would like this to be supported in some way by RSpec. Thoughts? Best regards, /Robert Feldt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070712/d92af696/attachment.html
On 7/12/07, Robert Feldt <robert.feldt at bth.se> wrote:> Hi, > > I''m trying out RSpec with the heckle option (for mutation testing). > > > Problem is that heckle goes into an infinite loop when running it on an > example. I want to send a "--verbose" to heckle but can''t find a way to do > that through the spec binary. Since this is not an uncommon situation when > using heckle I would like this to be supported in some way by RSpec. > Thoughts?Hi Robert, I can see this working a couple of ways. We''ve got a -b switch which results in a complete backtrace showing up. That seems more or less synonymous with the notion of --verbose, which we don''t have explicitly. So, what if we added a --verbose switch that affected any other options, like Heckle, or RCov? I think that would be simpler than trying to come up with targeted --verbose switches. WDYT?> > Best regards, > > /Robert Feldt > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
On 7/12/07, David Chelimsky <dchelimsky at gmail.com> wrote:> > On 7/12/07, Robert Feldt <robert.feldt at bth.se> wrote: > > Hi, > > > > I''m trying out RSpec with the heckle option (for mutation testing). > > > > > > Problem is that heckle goes into an infinite loop when running it on an > > example. I want to send a "--verbose" to heckle but can''t find a way to > do > > that through the spec binary. Since this is not an uncommon situation > when > > using heckle I would like this to be supported in some way by RSpec. > > Thoughts?That sounds very reasonable. I like it. Regards, Robert Hi Robert,> > I can see this working a couple of ways. We''ve got a -b switch which > results in a complete backtrace showing up. That seems more or less > synonymous with the notion of --verbose, which we don''t have > explicitly. So, what if we added a --verbose switch that affected any > other options, like Heckle, or RCov? I think that would be simpler > than trying to come up with targeted --verbose switches. > > WDYT? > > > > > Best regards, > > > > /Robert Feldt > > > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Best regards, /Robert Feldt -- PhD, Assistant Professor in Software Engineering Blekinge Institute of Technology School of Engineering (APS) SE-372 25 Ronneby Sweden Phone: +46 (0) 457 385 887 Mobile: +46 (0) 733 580 580 Web pages: Research group: http://www.bth.se/tek/serl/ Research project: http://www.bth.se/besq/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070712/fd7187ee/attachment-0001.html
On 7/12/07, David Chelimsky <dchelimsky at gmail.com> wrote:> > On 7/12/07, Robert Feldt <robert.feldt at bth.se> wrote: > > Hi, > > > > I''m trying out RSpec with the heckle option (for mutation testing). > > > > > > Problem is that heckle goes into an infinite loop when running it on an > > example. I want to send a "--verbose" to heckle but can''t find a way to > do > > that through the spec binary. Since this is not an uncommon situation > when > > using heckle I would like this to be supported in some way by RSpec. > > Thoughts?One alternative I thought of is to have a standard way to "promote" options to other tools that spec invokes. Along the lines of: spec --heckle --options-heckle "--verbose --branches MyModule::MyClass#my_method" ... and the argument to --options-heckle (or --options-rcov etc) would simply be passed along in the call to heckle. This would cover more situations with a single solution. Regards, Robert Hi Robert,> > I can see this working a couple of ways. We''ve got a -b switch which > results in a complete backtrace showing up. That seems more or less > synonymous with the notion of --verbose, which we don''t have > explicitly. So, what if we added a --verbose switch that affected any > other options, like Heckle, or RCov? I think that would be simpler > than trying to come up with targeted --verbose switches. > > WDYT? > > > > > Best regards, > > > > /Robert Feldt > > > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Best regards, /Robert Feldt -- PhD, Assistant Professor in Software Engineering Blekinge Institute of Technology School of Engineering (APS) SE-372 25 Ronneby Sweden Phone: +46 (0) 457 385 887 Mobile: +46 (0) 733 580 580 Web pages: Research group: http://www.bth.se/tek/serl/ Research project: http://www.bth.se/besq/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070713/b1c21c46/attachment.html