Place error marker on correct line for custom assertions
-
benrady (at gmail)
Right now, assertions are placed the most recent line in the failure stack trace that doesn't appear in a known test library package (currently junit and jdave are the only tools we've had to filter like that).
If there are other packages that you'd like to see filtered, or another filtering mechanism that would work for you, please let us know.
-
Johannes Brodwall
The test packages that I use are org.hamcrest., org.fest.assertions. and org.mockito.. In addition, it would be good to filter on assert, which is at least the pattern I use for custom assert.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.