[rspec-devel] 100 %
aslak.hellesoy at gmail.com
Mon Oct 23 01:03:41 EDT 2006
On 10/23/06, Dave Astels <dastels at daveastels.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 22-Oct-06, at 8:13 PM, Lachie wrote:
> >>> For the first time in history RSpec now has 100% coverage.
> >> All that means is that there is no code that is not executed during
> >> the run. It says nothing about the logical coverage. For that we
> >> need something like Jester. Is here a ruby version yet?
> > Perhaps this would do the trick:
> > http://blog.zenspider.com/archives/2006/10/
> > heckle_another_rubyconf_hack.html
> yes.. exactly.
No, not quite (yet). It's tightly coupled to Test::Unit. I've
contacted Ryan and asked him if he wants to decouple it. It should be
easy to do.
I played a little bit with it in RSpec. It shouldn't be too hard to
add native support for this in RSpec so you can say:
spec .... --heckle qualifier
Where qualifier is the name of a module, class or method. Example:
How cool would that be?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (Darwin)
> -----END PGP SIGNATURE-----
> rspec-devel mailing list
> rspec-devel at rubyforge.org
More information about the rspec-devel