Although many logs are output to console while running bundle exec rake spec, most of them aren't need to show. Such verbose output is confusing for finding messages of real issues.
In addion, output them to a file is convenient to check log messages in unit tests.
Although many logs are output to console while running
bundle exec rake spec
, most of them aren't need to show. Such verbose output is confusing for finding messages of real issues.In addion, output them to a file is convenient to check log messages in unit tests.