croconut / godot-tester

A Github Action to handle testing Godot applications with GUT
MIT License
36 stars 14 forks source link

Leverage GUT XML Output #24

Closed RGonzalezTech closed 2 years ago

RGonzalezTech commented 2 years ago

Summary

The new GUT versions do not output the results the same way and are causing false negative results. Using the XML output to determine $TESTS and $FAILED. See Original Issue #22

Details

reviews #22

RGonzalezTech commented 2 years ago

Included some parsing for the check_by_asserts function as well. The output XML filename can be defined as a new action input in case it needs to be used with direct-scene.

Concern

See merged PR for more details. Not sure how the -gjunit_xml_file= arg will interact with the -gconfig= input on: https://github.com/croconut/godot-tester/blob/a89f81ee33c96f6e2af0144abe31a375c0ecc2c4/entrypoint.sh#L109-L113