全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: ruby-timecop  ]

套件:ruby-timecop(0.9.8-1)

ruby-timecop 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 ruby-timecop

維護小組:

外部的資源:

相似套件:

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

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10。8 kB40。0 kB [檔案列表]