Open rarebreed opened 7 years ago
Actually the solution is here: https://github.com/rarebreed/polarize-reporter/blob/master/src/main/java/com/github/redhatqe/polarize/reporter/XUnitReporter.java#L732
However, I can't use this yet, because the configuration for the CLI is not yet done
This is because the message handler function doesn't pass the status on up the call chain. The refactored polarize where the message bus stuff is separated out has a solution for this by returning a MessageResult up the call stack so that the XUnitReporter can check to see:
See https://github.com/rarebreed/polarize-bus and the modular branch of polarize: https://github.com/rarebreed/polarize/tree/modular