How are tests that should fail indicated? #541
-
While checking if release 229 contained changes for OpenEdge 13.0 I stumbled across the build results for OE13. The summary shows all tests passed, but when looking at the details, for example of ABLUnit test3 - it shows 1 failure. Looking at what I think are the source files of this test, I cannot see what is indicating that this is an expected failure. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Unit tests are executed in Java, here is what is executed: link |
Beta Was this translation helpful? Give feedback.
-
Thanks! I was expecting the expected results to be closer to the tests themselves, ie in the test directories. |
Beta Was this translation helpful? Give feedback.
Unit tests are executed in Java, here is what is executed: link
By default, ABLUnit tests do not fail the build in case of failure of the OE tests (attribute haltOnFailure set to false). So the Java unit test checks that the unit tests don't fail the build (expected, and that the output file contains 3 tests, 1 failure, 1 error, and so one success).