Machinist is a factory framework for building test objects in Ruby. It's made to be a drop-in replacement for fixtures in Ruby on Rails testing suites.