[rspec-users] Promoting options to heckle?
robert.feldt at bth.se
Fri Jul 13 02:10:21 EDT 2007
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
> > that through the spec binary. Since this is not an uncommon situation
> > 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
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
> 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.
> > 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
PhD, Assistant Professor in Software Engineering
Blekinge Institute of Technology
School of Engineering (APS)
SE-372 25 Ronneby
Phone: +46 (0) 457 385 887
Mobile: +46 (0) 733 580 580
Research group: http://www.bth.se/tek/serl/
Research project: http://www.bth.se/besq/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users