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
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems
Join editor Bill Childers and Bit9's Paul Riegle on April 27 at 12pm Central to learn how to keep your Linux systems secure.
Free to Linux Journal readers.Register Now!
|diff -u: What's New in Kernel Development||Aug 20, 2014|
|Security Hardening with Ansible||Aug 18, 2014|
|Monitoring Android Traffic with Wireshark||Aug 14, 2014|
|IndieBox: for Gamers Who Miss Boxes!||Aug 13, 2014|
|Non-Linux FOSS: a Virtualized Cisco Infrastructure?||Aug 11, 2014|
|Linux Security Threats on the Rise||Aug 08, 2014|
- diff -u: What's New in Kernel Development
- Security Hardening with Ansible
- NSA: Linux Journal is an "extremist forum" and its readers get flagged for extra surveillance
- Monitoring Android Traffic with Wireshark
- Tech Tip: Really Simple HTTP Server with Python
- [<Megashare>] Watch Mrs Brown's Boys Movie Online Full Movie HD 2014
- Readers' Choice Awards 2013
- RSS Feeds
- Linux Security Threats on the Rise
- IndieBox: for Gamers Who Miss Boxes!