testing, on steroids.
go red with zentest: generate, measure, audit
# cls: tst/mth = pct # A::B: 31 / 21 = 147.62% # A: 3 / 4 = 75.00% def thingy raise NotImplementedError, 'Need to write thingy' end # of errors detected: 42
- Ensures test coverage and accelerates TDD.
- Test and implementation methods generated automatically.
- Focus on content, not structure.
- Know where to work next.
- Get quick feedback on progress.
go green with unit_diff: illuminate, focus, fix
- Uses Advanced Diffing Technology™ to highlight errors.
- Miles of output made crystal clear.
- Points you to exactly where the problem is, weeding through the clutter, and letting you think at a higher level.
- Don’t waste time digging through failed tests when you could be simply fixing things.
refactor with autotest: automate, accelerate, concentrate
- Improves feedback by running tests continuously.
- Continually runs tests based on files you’ve changed.
- Get feedback as soon as you save. Keeps you in your editor allowing you to get stuff done faster.
- Focuses on running previous failures until you’ve fixed them.
validate with multiruby: cover, validate, ensure
multiruby -e '1 + 2' VERSION = 1.8.7-p330 CMD = ~/.multiruby/install/1.8.7-p330/bin/ruby -e 1 + 2 RESULT = 0 VERSION = 1.9.3-p0 CMD = ~/.multiruby/install/1.9.3-p0/bin/ruby -e 1 + 2 RESULT = 0 TOTAL RESULT = 0 failures out of 2 Passed: 1.9.3-p0, 1.8.7-p330 Failed:
- Runs anything you want across many versions of ruby.
- Validate your tests for version specific code.
- Write C extensions and ensure they’ll work everywhere.