= assertions
Project Page: http://rubyforge.org/projects/assertions/

== DESCRIPTION:
This package adds some additional assertions to Test::Unit::Assertions,
including:
* Assertions for all of the comparison operators
(assert_greater_than, assert_less_than_or_equal_to,
etc.). Shorter aliases also are provided for these (assert_gt,
assert_le, etc.).
* An assertion that verifies that a given block raises a specified exception
with a specified message (assert_raise_message).
This allows full testing of error messages.
* An assertion that verifies that a given block contains an assertion that
fails (assert_fail), which can be used to test new assertions.

== PROBLEMS:
None (known).

== SYNOPSIS:
require 'rubygems'
require 'assertions'

require 'test/unit'

class Tests < Test::Unit::TestCase
def test_assertions
#
# Verify that 4 < 5
#
assert_less_than(4, 5)

#
# Verify that 4 < 5 again, but this time with the
# shorter alias.
#
assert_lt(4, 5)

#
# Verify that 5 >= 5
#
assert_ge(5, 5)

#
# Verify that the specified exception is raised.
#
assert_raise_message("Hello, exception!", RuntimeError) do
raise "Hello, exception!"
end

#
# Verify that an assertion failed.
#
assert_fail do
assert_equal(5, 4)
end
end
end

== REQUIREMENTS:
Hoe is required but only for running the tests.

== INSTALL:
sudo gem install assertions

== AUTHORS:

=== Designing Patterns
==== Homepage
http://www.designingpatterns.com

==== Blogs
http://blogs.designingpatterns.com

== SUPPORT
Please post questions, concerns, or requests for enhancement to the forums on
the project page. Alternatively, direct contact information for
Designing Patterns can be found on the project page for this gem.

== ENHANCEMENTS
Please feel free to contact us with any ideas; we will try our best to
enhance the software and respond to user requests. Of course, we are more
likely to work on a particular enhancement if we know that there are users
who want it. Designing Patterns provides contracting and consulting services,
so if there is an enhancement that *must* get done (and in a specified time
frame), please inquire about retaining our services!

== LICENSE:
See LICENSE, at the root of the distribution.

== Share and Enjoy!