Infinity Test: Flexible Continuous Testing with Multiple Ruby Implementations

Created at: 29.09.2010 23:00, source: Ruby Inside , tagged: Miscellaneous Tools

Infinity Test is a new library by Tomas D'Stefano that pitches itself as a "flexible alternative to Autotest." If you want your project's tests (both RSpec or Test::Unit are supported) to be automatically run when changes are made, this is a great place to start.

The big benefit of Infinity Test is the support for testing across multiple Ruby implementations, powered by RVM (a candidate for Ruby project of the year, if ever there were one). For example, if you have some Test::Unit tests that you want to be run on Ruby 1.8.7, JRuby, Ruby Enterprise Edition, and Ruby 1.9.2, you could run:

infinity_test --test-unit --rubies=1.8.7,jruby,ree,1.9.2

There's also a configuration file system with its own DSL to build more complex automated testing systems with customized notification systems and callbacks.

[ad] Ruby Inside's newest sponsor is Recurly, a recurring billing service. They promise "subscription billing in 3 easy steps" and you can start a free trial right now. Their API is Ruby friendly and on GitHub!