I have spent so many workarounds trying to make up for the fact I couldn’t see proper logs while running cucumber tests. Five million ‘save_and_open_page’s, trying to ‘puts’ ridiculous things, switching between branches to try and pinpoint when things broke, switching databases and comparing performance to development.
Then I got a bit more sophisticated and started to try and use –backtrace (only good if a Cucumber error, no good for errors in your app). Even looking in the test.log file wasn’t always useful.
tail -f log/test.log