Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> ruby >> ruby-timecop
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: ruby-timecop  ]

パッケージ: ruby-timecop (0.9.1-1)

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 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    または ruby-interpreter
    パッケージは利用できません

ruby-timecop のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 10.0 kB38 kB [ファイル一覧]