hello all,
i’ve created a plug-in from some test helper code i’ve been using.
hopefully some of you will find it useful.
in a nutshell, it lets you assert that messages were (or were not)
written to the application’s log file during a test case.
from the README:
Testable Logger acts as a buffered proxy in front of the normal
Logger object when running in a test environment. It will store
the messages that are logged during a test run and make them
available for testing through the assertions assert_logged
and
assert_nothing_logged
.
home page:
http://code.teytek.com/rails/plugins/testable_logger/
svn repository:
http://svn.teytek.com/rails/plugins/testable_logger/trunk
questions, comments, suggestions welcome…
thanks,
mike demers
[[email protected]]