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

[FEATURE] Unit tests for script apis that uses automated testing #5598

Open
commandblock2 opened this issue Feb 12, 2025 · 0 comments
Open
Labels
🔥 enhancement New feature or request

Comments

@commandblock2
Copy link
Contributor

commandblock2 commented Feb 12, 2025

Describe your feature request.

Fabric provides automated testing for mod testing, and we could use that for script api, we can use the unit test to test if future tests will break existing scripts and new changes to script apis should provide a working example and passes all script api tests. I think we should only test the scripts that uses interface from script api maybe, because Minecraft itself does change. We could also make the documents point to unit tests so that the user will know the capability or generate part of these to make maintaining the docs easier.

I will also investigate this when I am available.

Additional context

No response

@github-actions github-actions bot added the 🔥 enhancement New feature or request label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant