alle opties
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Bron: ruby-timecop  ]

Pakket: ruby-timecop (0.9.6-1)

Verwijzigingen voor ruby-timecop

Screenshot

Debian bronnen:

Het bronpakket ruby-timecop downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

Ruby library to easily test time-dependent code

Timecop makes it easy to travel through or freeze time for creating a predictable and ultimately testable scenario.

It is a wrapper class for manipulating the extensions to the Time, Date, and DateTime objects. It avoids overloading of functions with optional arguments while writing test cases. It is possible to nest multiple calls to Timecop.travel and Timecop.freeze, with each block maintaining concept of "now". Having no dependencies, it works with regular Ruby projects and Ruby on Rails projects.

ruby-timecop downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 10,0 kB39,0 kB [overzicht]