Rails’ logs contain valuable information. You’ve probably seen output like the following:
In my case, I ran
script/server. If you’re running Passenger, you might run:
tail -f log/development.log
If I do not understand a functional test failure, I run my tests in one shell and tail my test log in another. Usually, I’m checking to make sure the params are correct*.
tail -f log/test.log
Cucumber is pretty cool. One downside is lack of information in the backtrace. You can find out more by tailing the log!
tail -f log/cucumber.log
Watching test logs, especially in the Test::Unit/Shoulda world, reminds me: