qarmin / The-worst-Godot-test-project

Test project to check as many as possible functions, nodes and their parameters
20 stars 6 forks source link

Including GUT Tests Post other test completion #2

Open FeralBytes opened 4 years ago

FeralBytes commented 4 years ago

I have encountered several bugs in GDScript as the language continues to be improved. I know that it is better to test at the C level, but it is much easier and usually still accurate to (with valid tests) to test using GDScript, at least to ensure consistent behavior. I would like to add GUT to your project as a PR if you are willing to accept so that we can slowly add some GDScript regression tests to be run after the other tests. What are your thoughts on this? If not I will maintain it on my project any ways. But I like the idea of the tests being run more often on the master branch. Thank you for your consideration.

qarmin commented 4 years ago

I don't have time to create such tests myself, but if you would like to create them, I would be happy to include them in the repository

Xrayez commented 4 years ago

I think the purpose of this repository is to find bugs (as much as possible, see Fuzzing, Monkey testing), and not provide a regression suite for fixed bugs. Those kind of bugs might be even difficult to reproduce.

In fact I've created a repository for this kind of thing, but given the fact that Godot has integrated C++ testing framework godotengine/godot#40659, it has lost its original purpose, but still can be useful for GDScript-based tests specifically.