You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Godot plugin: unit and smoke tests in CI against a fixture feed #283
Unit tests for the pure scripts (feed parsing, filtering, credits rendering) against a committed fixture feed. Run them with a plain godot --headless --script test runner, or GUT if a framework is preferred.
A smoke test: open a sample project with the plugin turned on, --headless --editor --quit, and fail on any SCRIPT ERROR in the output.
Contract check: validate the live plugin-feed.json against the fixture's expectations (format, required fields). It can run on a schedule, so a breaking feed change shows up here before users report it.
CI matrix: the minimum supported Godot version and the latest stable, on Linux (using a pinned, checksummed Godot download).
Acceptance criteria
CI runs unit and smoke tests on every push for both Godot versions
Fixture tests cover: unknown keys ignored, higher format, each filter, credit block replacement
A scheduled job checks the live feed's contract
Part of #116. Effort: M. audit-key: testing|godot-plugin|ci
Matrix: Godot 4.3-stable (the minimum) and 4.7.2-stable (latest), on Ubuntu. Each zip is checked against the official SHA-512, pinned in the workflow.
Runs on push, on PRs, and every Monday, which covers the scheduled check on the live feed.
Unit tests:tests/run_tests.gd, 50 checks with no network.
Editor smoke test: the job fails unless the log shows dock added and dock removed, or if it shows any SCRIPT ERROR or parse error. Godot can exit 0 after a script error, so every step also reads the log.
Live feed check:tests/check_feed_file.gd runs the deployed plugin-feed.json through the plugin's own parser. It fails on a newer format, on dropped entries, on fewer than 100 entries, or on no Godot entries. Current result: 419 entries, 398 work in Godot.
Still open: the acceptance items for each filter (#280) and for replacing the credits block (#282). Those tests go in with those features.
Activity
CI: unit tests, editor smoke test and live feed check on 4.3 and 4.7.2
TMHSDigital commentedon Nov 10, 2026
CI is in place: TMHSDigital/free-game-dev-assets-godot@07f843f. First run green: https://github.com/TMHSDigital/free-game-dev-assets-godot/actions/runs/42739120733
tests/run_tests.gd, 50 checks with no network.dock addedanddock removed, or if it shows anySCRIPT ERRORor parse error. Godot can exit 0 after a script error, so every step also reads the log.tests/check_feed_file.gdruns the deployedplugin-feed.jsonthrough the plugin's own parser. It fails on a newerformat, on dropped entries, on fewer than 100 entries, or on no Godot entries. Current result: 419 entries, 398 work in Godot.Still open: the acceptance items for each filter (#280) and for replacing the credits block (#282). Those tests go in with those features.