It can happen that all builds fail and the codeception report.xml
file does not contain valid XML (including an empty file). If this
happens then the build currently passes because the result object is
not marked as borked or failed.
With these changes I have added two mechanisms:
if the XML file is empty or otherwise contains invalid XML then
the Result is marked as borked
If any parser throws an exception than the TaskRunner will also
mark the build as borked.
It can happen that all builds fail and the codeception report.xml file does not contain valid XML (including an empty file). If this happens then the build currently passes because the result object is not marked as borked or failed.
With these changes I have added two mechanisms: