December 7th, 2009 by John Trupiano
Timecop 0.3.4 has just been released. To install simply run: gem install timecop.
Timecop is a RubyGem providing “time travel” and “time freezing” capabilities, making it dead simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.
Documentation is hosted at RubyForge. The source code is hosted at GitHub.
Updates include:
Read the rest of this entry »
Tags: Ruby, rubygem, tatft, Testing, timecop
Posted in John Trupiano, Ruby, TATFT, Testing | No Comments »
April 30th, 2009 by Nick Gauthier
Posted in ActionMailer, Configuration, John Trupiano, Linux, Nick Gauthier, Programming, Ruby, Ruby on Rails, Testing, Uncategorized | 1 Comment »
November 19th, 2008 by John Trupiano
Tags: Programming, rails, Ruby, tatft, tdd, Testing, timecop
Posted in John Trupiano, Programming, Ruby, Ruby on Rails, Testing | 8 Comments »
October 8th, 2008 by John Trupiano
Tags: benchmark, mac osx, R, rsruby, Ruby, ubuntu
Posted in Benchmarking, John Trupiano, Programming, Ruby, Testing | 4 Comments »