alibaba82
17 years agoSuper Contributor
Junit Report failed assertion message
Hello,
I notice that when an assertion fails, the message in Junit is somewhat condensed. For instance
//ns2:LinkDeviceResponse[1]/ns2:LinkDeviceResult[1]/ns1:Status[1]/text()] : ComparisonFailure:expected: but was:
It would be a lot easier to read the failed assertion if the entire message was displayed.
//ns2:LinkDeviceResponse[1]/ns2:LinkDeviceResult[1]/ns1:Status[1]/text()] : ComparisonFailure:expected: but was:
Is there some setting somewhere that will allow me to view the entire message. Or would this be a feature request ?
Ali
I notice that when an assertion fails, the message in Junit is somewhat condensed. For instance
//ns2:LinkDeviceResponse[1]/ns2:LinkDeviceResult[1]/ns1:Status[1]/text()] : ComparisonFailure:expected:
It would be a lot easier to read the failed assertion if the entire message was displayed.
//ns2:LinkDeviceResponse[1]/ns2:LinkDeviceResult[1]/ns1:Status[1]/text()] : ComparisonFailure:expected:
Is there some setting somewhere that will allow me to view the entire message. Or would this be a feature request ?
Ali