Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
Description
We have several issues popping up every now and then that are hard to debug and the test failure messages aren't entirely helpful, for example:
java.lang.AssertionError: Expected empty result but got 1 rows:
It could be much better if we could have an actual output (what exactly the row that got returned appended to it:
java.lang.AssertionError: Expected empty result but got 1 rows: [row(value=null)]
The nice side-effect of this change is that now we will have a helper method that can nicely turn an UntypedResultSet into String (I apologise if I did overlooked one).