DOC

org.necula.bond : bond

Maven & Gradle

Feb 05, 2016
6 stars

Bond Testing Library · 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 whem 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.

Table Of Contents

Latest Version

Download org.necula.bond : bond Javadoc & API Documentation - Latest Versions:

All Versions

Download org.necula.bond : bond Javadoc & API Documentation - All Versions:

Version Size Javadoc Updated
0.2.x
0.1.x

How to open Javadoc JAR file in web browser

  1. Rename the file bond-0.2.0-javadoc.jar to bond-0.2.0-javadoc.zip
  2. Use your favourite unzip tool (WinRAR / WinZIP) to extract it, now you have a folder bond-0.2.0-javadoc
  3. Double click index.html will open the index page on your default web browser.

How to generate Javadoc from a source JAR?

Running the command javadoc:

javadoc --ignore-source-errors -encoding UTF-8 -sourcepath "bond-0.2.0-sources.jar" -d "bond-0.2.0-javadoc" -subpackages