Better error messages from SpanDataAssert#hasAttributesSatisfyingExactly(AttributeAssertion...)
#5025
Labels
Feature Request
Suggest an idea for this project
This issue pertains to version 1.19.0. I have not checked with newer versions.
In my tests I am using
SpanDataAssert#hasAttributesSatisfyingExactly(AttributeAssertion...)
like in this example:When one of the attribute assertions with a
isNotNull
assertion fails, there is no indication of which attribute this assertion failure pertains to:With
SpanDataAssert#hasAttribute(AttributeAssertion)
OTOH this is much better:The text was updated successfully, but these errors were encountered: