Mikhail Loenko wrote:
If you need a stacktrace, why not just throw a RuntimeException at that point? JUnit will then include the stack trace in the report.fail() is not always convinient, for example, how would you printstack trace to fail()? Meanwhile stacktrace is most often enough
-- Thorbjørn