Logging from a functional (or unit) test


#1

I’ve tried any number of ways to output information to the test log from
my tests, but nothing seems to work. Is there a setting someplace that I
am missing? I’m just trying to do something on the order of

logger.info “blah blah”

from my test.

TIA,
Keith


#2

Keith,

RAILS_DEFAULT_LOGGER.info “blah blah”

Cody

On 1/20/06, Keith L. removed_email_address@domain.invalid wrote:


Posted via http://www.ruby-forum.com/.


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


http://www.codyfauser.com


#3

Cody F. wrote:

Keith,

RAILS_DEFAULT_LOGGER.info “blah blah”

Cody

Cody - Thanks! It worked.