BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

bond-spy

v0.2.1RubyGems· Ruby

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.

The verdict
Abandoned. Last published 10 years ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityNiche
SecurityClean
LicenseOther
DepsZero deps
Maintenance
Last published 10 years ago.
Popularity
7 downloads / week
Security
No known advisories for this version (OSV).
License
BSD-2-Clause-FreeBSD
Dependencies
No runtime dependencies
Recent releases
  • 0.2.110 years ago
  • 0.2.010 years ago
  • 0.1.010 years ago