RSpec - How to get a better error message? <p>I am used to PHPUnit, so I found RSpec to be inferior when it comes to showing what has gone wrong, where and why.</p> <p>For example, in PHPUnit, I can get the stack trace when an exception is raised (and even with -b option in RSpec, all I can get is the stack trace of RSpec exceptions, and not Rails's)</p> <p>Also, when some error occurs, it shows you the <strong>ACTUAL</strong> value and the <strong>EXPECTED</strong> value.</p> <p>Those two features I'd like to achieve in RSpec. Getting a detailed error message that includes the stack trace, in case of an Exception of Ruby or of Rails, and to know what was the actual value.</p> <p>Any ideas of how to accomplish this?</p>