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:
= Copy to clipboard Copied!

Installeer:
=

Versies:

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

Runtime afhankelijkheden (1):

neatjson ~> 0.6

Development afhankelijkheden (3):

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

Eigenaren:

Authors:

  • George Necula, Erik Krogen

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 7.888

Voor deze versie 3.139

Licentie:

BSD-2-Clause-FreeBSD

Required Ruby Version: >= 2.1

Links: