I would like some of my functional tests to output something additional
to the standard output. It could be directly in the terminal, in the
test log, or somewhere else. How can I do that?
Thanks in advance! (:
I would like some of my functional tests to output something additional
to the standard output. It could be directly in the terminal, in the
test log, or somewhere else. How can I do that?
Thanks in advance! (:
RAILS_DEFAULT_LOGGER.info “some text or whatever”
would work and output to test.log
Thorsten M. wrote:
RAILS_DEFAULT_LOGGER.info “some text or whatever”
would work and output to test.log
Thanks! Works fine and my bug is fixed.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs