hprange / wounit

The WOUnit framework contains a set of utilities for testing WebObjects applications using JUnit 4.7 or later capabilities.
http://hprange.github.io/wounit/
Apache License 2.0
19 stars 18 forks source link

Include stack trace of unexpected exception when verifying if an object is valid for save #42

Open hprange opened 9 years ago

hprange commented 9 years ago

The current message is not very useful.

java.lang.AssertionError: 
Expected: valid for save enterprise object
     but got: java.lang.NullPointerException: null

We can make it a lot better if the stack trace of the NullPointerException is included.