RubyGems Navigation menu

bond-spy 0.2.1

Bond is a small library that can be used to spy values and mock functions during tests. Spying is a replacement for writing the assertEquals in your test, which are tedious to write and even more tedious to update when your test setup or code inevitably changes. With Bond, you separate what is being verified, e.g., the variable named output, from what value it should have. This way you can quickly spy several variables, even have structured values such as lists or dictionaries, and these values are saved into an observation log that is saved for future reference. If the test observations are different you have the option to interact with a console or visual tool to see what has changed, and whether the reference set of observations need to be updated.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.2.1 - February 18, 2016 (32KB)
  2. 0.2.0 - February 04, 2016 (31KB)
  3. 0.1.0 - January 29, 2016 (29KB)

Runtime依存関係 (1):

neatjson ~> 0.6

Development依存関係 (3):

bundler ~> 1.10
rake ~> 10.0
rspec ~> 3.0

所有者:

作者:

  • George Necula, Erik Krogen

SHA 256チェックサム:

5541cd26fc32431c574e352a526bb49961ca51bccdbe8bc58519a962bc77aea9

累計ダウンロード数 7,835

このバージョンのみ 3,122

ライセンス:

BSD-2-Clause-FreeBSD

必要なRubyのバージョン: >= 2.1

リンク: