| commit | 790ddb2983bce01d2d0b5b1049d5576fa0c136a8 | [log] [tgz] |
|---|---|---|
| author | Robin Rosenberg <robin.rosenberg@dewire.com> | Sat Nov 05 16:52:24 2011 +0100 |
| committer | Robin Rosenberg <robin.rosenberg@dewire.com> | Sun Nov 06 10:00:06 2011 +0100 |
| tree | b15de385044a2f9de8eff812f8b1d1653958b58d | |
| parent | 00235c77d6e636aac5896f0b1e76b1e43e84410f [diff] |
Don't throw away the stack trace when tests fail Most unexpected exceptions are completely useless yielding message like "null" or "3" or in the best cases something reasonable, but still out of context. Just declare the test as throwing an exception. That will retain the full stack trace leading to the point of failure without using a debugger or changing the code. Change-Id: Id2454d328d1aa665606ae002de2c3805fe7baa8e