Skip to content

Tags: rubyworks/ae

Tags

1.8.2

Toggle 1.8.2's commit message
This release primarily fixes one bug --the assertions count

global variable wasn't all caps, which prevented assertions
from being counted correctly.

1.8.0

Toggle 1.8.0's commit message
This new release improves support for Proc-based assertions and

RSpec-style matchers. In addition, this release sees the optional
Check Ok/No library in a usable state. And, lastly, note the license
has been changed to BSD-2-Clause.

1.7.2

Toggle 1.7.2's commit message
Minor release adds color diffs for failed equality comparisons to

the error message, and it fixes an issue in which class references
needed the toplevel prefix (`::`) to ensure they can be found in
all cases. Note that ANSI color diffs can be deactivated via
AE.ansi = false or using the master switch an upcoming release
of the ANSI gem.

1.7.1

Toggle 1.7.1's commit message
This release adds a specialized message for certain comparision

operators to allow them have a more forensic output. This is done
via ANSI::Diff library.

1.7.0

Toggle 1.7.0's commit message
AE now uses proper namespace for all classes. In particular, the `Ass…

…ertor`

class has become `AE::Assertor`. Only the `Assertion` class remains outside
the `AE` namespace, as it is now used to map to the current exception class
for raising assertions as defined by current test framwework. In addition,
AE's Kernel extensions, which are used to adapt AE for use with any given
test framework have been moved to the AE and AE::Assertor classes as
class methods along with AE's assertion count methods.

1.6.1

Toggle 1.6.1's commit message
This release has test passing for Ruby 1.9.2. Ruby 1.9.2 doesn't appear

to like &block and block_given? to be used in same method scope. It
may be a Ruby bug, nonetheless AE has been adjusted to circumvent the
problem.

1.6.0

Toggle 1.6.0's commit message
Support libraries defining toplevel methods, such as `legacy.rb`, now…

… place

their methods in AE::World module instead of Object. AE::World needs to
to be included in the context desired for the testing framework used. This
is important to prevent polution of the the Object namespace.

1.5.0

Toggle 1.5.0's commit message
This release adds adapters for TestUnit, MiniTest and RSpec. AE worke…

…d with

them previously but AE assertions were seen as errors rather than natice
assertions. Likewise assertion counts were off in the final tally. These
adapters insert AE's counts so the the tally's are correct.

In addition to this the Assertion class itself now acts as the final end
point for all assertions, which makes for a very clean interface.

1.3.0

Toggle 1.3.0's commit message
New release of AE adds support for RSpec-style matchers. This means i…

…t should be usable with Shoulda 3.0 and any other matchers library. This release also cleans up the underlying code, which is now xtremely clean. Lastly a small API change allows #asser to compare it's argument to the return of it's block using #==, just as #expect does using #===.

1.2.2

Toggle 1.2.2's commit message
Version 1.2.2 simply add one new feature --the ability to

use 'object.assert = other' instead of 'object.assert == other'.
This was added simply becuase I found I often made the mistake
of a missing '=', and since #assert= has no definition, there
was no reason not to have behave accordingly.

Also note that I switched the license from LGPL to MIT.
With regards to reusable libraries and I moving all my
work, such that I am able, to MIT to maximize free usage.