You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some IDEs, build tools, and testing frameworks differentiate between "assertion failures" and other errors. In Java both are represented as exceptions where the former extend AssertionError and the latter use any other exception type.
In the Java extension schema, this can be represented for an exception ("throwable") using an attribute:
However, making this a core concept would allow downstream tools to handle this consistently across frameworks. This could be achieved by introducing an additional ERRORED constant in the core:Status enum.
Motivation
Some IDEs, build tools, and testing frameworks differentiate between "assertion failures" and other errors. In Java both are represented as exceptions where the former extend
AssertionError
and the latter use any other exception type.In the Java extension schema, this can be represented for an exception ("throwable") using an attribute:
open-test-reporting/schema/src/main/resources/org/opentest4j/reporting/schema/java-0.2.0.xsd
Line 65 in 9b7e27d
However, making this a core concept would allow downstream tools to handle this consistently across frameworks. This could be achieved by introducing an additional
ERRORED
constant in thecore:Status
enum.open-test-reporting/schema/src/main/resources/org/opentest4j/reporting/schema/core-0.2.0.xsd
Lines 119 to 126 in 9b7e27d
The text was updated successfully, but these errors were encountered: