William Cheng 046be5dba1
Prepare 7.15.0 (#21445)
* Revert "v7.14.0 release (#21443)"

This reverts commit 5eb083e5ce1dd99659fadc03d7c6e809d3077af6.

* prepare v7.15.0 snapshot

* update samples

* update readme

* update doc
2025-06-25 21:34:58 +08:00
..
2025-06-25 21:34:58 +08:00

Petstore GDScript Testing Client

What

  • Godot 4.x project
  • Made for --headless mode
  • Returns non-zero exit code upon test failure
  • Uses GUT as test engine

Prepare the test server

See https://github.com/OpenAPITools/openapi-generator/wiki/Integration-Tests

We are using the petstore docker, not the echo server for now. Feel free to refactor or duplicate the sample demo to use the new echo server. See bin/configs/gdscript-petstore.yaml.

Run

godot --headless --debug --path samples/client/petstore/gdscript --script addons/gut/gut_cmdln.gd

The command should return a zero exit code if all tests passed. You may want to add --verbose for more logs when debugging.

Update

Refresh the generated files, after modifying the gdscript templates or java generator:

bin/generate-samples.sh bin/configs/gdscript-petstore.yaml