Closed ylatuya closed 1 year ago
I am having issues with the checks not being triggered :(
I have added all unit tests missing for the Regress API and integration checks for Gio, Gdk, Gtk, Atk and Pango. This has also been tested with the GStreamer bindings and the update of the bindings went very smoothly, having to fix only one method in the .metadata file. This is now ready to be merged.
The bindings generator does already a good job but it still has issues in several areas:
The goal is to create a proper test suite with integration and unit tests that will help us fix all of the binding generation issues.
This merge request focuses in creating the initial scaffolding for the test suite and attack the first problem of the generator: all the generated code must compile correctly.
The test suite will use the Regress library from gobject-introspection since it provides a broad coverage of all possible uses cases: https://gitlab.gnome.org/GNOME/gobject-introspection/-/tree/main/tests/scanner
The
Regress-1.0.gir
is processed with bindinate to generate the GAPI xml that is feed into the code generator.The test suite will start with 2 integration tests:
Current Status
With this merge request we have gone from:
To:
Next Steps