Hi Mike,
Try these ...
1. In setUp() call
addAssertDecorator("path.to.your.assertion" [,override=true|false]);
if true, override tells the framework to give preference to any
identically named assertions to the custom assertion, effectively
overriding mxunit's assertion. Note, however, that mxunit expects
*mxunit.exception.AssertionFailedError* when an assertion fails so,
you will
need to throw that in your code accordingly.
2. Instead of calling addAssertDecorator(...), you can edit /mxunit/
framework/mxunit-config.xml. Look for a line, that looks like this
and change to fit your config: <config-element
type="assertionExtension" path="path.to.your.assertion"
autoload="true" override="false" />.
#2 does the same thing as #1 but will make your assertions available
to any tests automatically.
This has not been extensively tested, but comments and suggestions are
always welcome! We're still working on documenting this and other
goodies.
hth,
bill