1

A wee while ago I ended up on a page which hosted several ruby tools, which had 'crazy' names like 'mangler' or 'executor' or something. The tool's job was to modify you production code (at runtime) in order to prove that your tests were precise.

Unfortunately I would now like to find that tool again, but can't remember what it was called. Any ideas?

Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
mcintyre321
  • 12,996
  • 8
  • 66
  • 103

3 Answers3

9

I think you're thinking about Heckle, which flips your code to make sure your tests are accurate. Here:

http://seattlerb.rubyforge.org/heckle/

Terry
  • 1,088
  • 6
  • 10
  • Sounds like heckle is what you're looking for. Also metric_fu is pretty slick for code quality metrics: http://metric-fu.rubyforge.org/ – hgmnz Sep 24 '09 at 19:11
4

Maybe you're thinking of the Flay project and related modules:

http://ruby.sadi.st/Ruby_Sadist.html

tadman
  • 208,517
  • 23
  • 234
  • 262
1

Also you can try my mutant. Its AST based and currently runs under MRI and RBX in > 2.0 mode. It only has a killer for rspec3, but others are possible also.

mbj
  • 1,042
  • 9
  • 19