New Releases Lead to Better Ruby Testing
The last week or so has seen new releases of two of my favorite additions to testing (or speccing if you're of the BDD persuasion) in the Ruby world. zenspider and Kevin Clark have released a new version of Heckle on the 20th, and Mauricio Fernandez released a new version of rcov this morning (the 21st).
heckle is a tool that 'tests your tests', walking the AST that Ruby executes for the code under test and transforming (or mutating) it to ensure that your tests still fail if an if is changed to an unless, or if inputs to methods being tested are changed. It provides an informal measure of branch coverage for your test suite. This release features better readability (through unified diff output of failing mutated tests and simple reporting at the end of heckle runs. Kevin tells me they're working on HTML report generation as well, which I think will be a great addition.
rcov is a more traditional tool, it measures line coverage of your test suite. This release includes: an annotation mode (--annotate), which reprints the original source with coverage annotations; enhanced emacs support (including jumping to uncovered code); and a number of bugfixes including a segfault when running under rspec.
It's been a good week for Ruby testers. Hopefully March will continue the trend.
-- -pate http://on-ruby.blogspot.com
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
- Fun with ethtool
- Parallel Programming with NVIDIA CUDA
- 100% disappointed with the decision to go all digital.
- Readers' Choice Awards 2011
- Linux-Based X Terminals with XDMCP
- You Need A Budget
- Validate an E-Mail Address with PHP, the Right Way
- The Linux powered LAN Gaming House
- Why Python?
- Python for Android
- I use Wireshark on a daily
4 min ago - buena información
5 hours 10 min ago - One important "bucket" that I didn't note (désolé si qqun deja d
6 hours 11 min ago - Gnome3 is such a POS. No one
15 hours 38 min ago - Gnome 3 is the biggest POS
15 hours 49 min ago - I didn't knew this thing by
21 hours 53 min ago - Author's reply
1 day 1 hour ago - Link to modlys
1 day 2 hours ago - I use YNAB because of the
1 day 2 hours ago - Search
1 day 7 hours ago





Comments
This release features better
This release features better readability : through unified diff output of failing mutated tests and simple reporting at the end of heckle runs.
sidelines
like some of your readers, the wait for an up and running ruby is what matters...we're watching you ruby!!!
Youtubers
ruuby, keep it going, I am rulling 4 u
Excellent Release
This release is rather helpful and the HTML report generation will certainly go a long way...
Great release
The HTML report new generation will most deffinately go down as a great one. Thanks
Yes, automated regression
Yes, automated regression testing of this nature can be extremely helpful!