FailFast 1.1.0

This Ruby script is a collection of assertion methods intended for lightweight contract-assumption checking

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in FailFast 1.1.0:

  • Added assert_only_keys.
Read full changelog
send us
an update
LICENSE TYPE:

MIT License

USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Avdi Grimm
HOMEPAGE:
github.com
LANGUAGE:
Ruby
CATEGORY:
C: \ Programming Tools
It will check the document and point to the assertion point of failure brought down by nils or bad values in the code.

Judicious use of FailFast assertions to check the assumptions can ensures that the program will end as soon as a contract violation is detected.

One of the primary goals of FailFast is to make assumption-checking declarative. Assumption checking should be simple and concise so that it can get to the meat of a method without getting blocked down in verifications.

At the same time, FailFast is lightweight. It is not a metaprogrammed Design-by-Contract DSL. It is a simple set of shorthand methods for validating values.

It is not the intent of FailFast to have specialized assertions for every eventuality.

Rather, it seeks to cover a few common cases where there is a potential for significantly increased clarity and declarativeness.

Last updated on July 20th, 2009

Runs on: Windows / Linux / Mac OS / BSD / Solaris

feature list

#assertion method #error checking #assumption checking #error #checking #assumption #assertion

Add your review!

SUBMIT