Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test using Godot Engine loading the extension without error and doing something with it. #5

Open
Klaim opened this issue May 31, 2023 · 1 comment

Comments

@Klaim
Copy link
Collaborator

Klaim commented May 31, 2023

The Godot Engine executable being small might be ok to put directly in git, or maybe just downloading it directly as part of the test is best. Just make sure it's the same version as the version of the godot-cpp package.

Then add as testscript to the gdexample the cli run of the godot engine after the generated binaries from the gdextension test are moved into the demo project (provided by upstream). There is a cli api for the godot engine that should be useful. There must be no error on startup of the Godot Engine, and then you should be able to generate and run the demo. Not sure how to handle how to test the generated demo, need to check.

@Klaim
Copy link
Collaborator Author

Klaim commented Sep 12, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant