Commit graph

12 commits

Author SHA1 Message Date
c64f40d0bf
Add tests for sms module + update Bessere Tests
Good that I decided to introduce unit tests to CORE because I found multiple issues in the Scene Manager which I was now able to fix. See 52c6d029d9, 25c4667a05 and 32b82c8f5b.
2024-04-06 14:47:51 +02:00
2e3c5bf53d
Remove stupid core_test variable and return value
I somehow fucked up and thought that the 'core' variable in unitbase.gd is used for some other stuff and therefore assigned it a new variable called 'core_test'. Seems like I was wrong however and slipped up the code I wrote just days before. Anyway, fixed this slip up, have a nice day :)
2024-04-06 14:47:51 +02:00
8d6dec5319
Update unitbase.gd 2024-04-06 14:47:50 +02:00
301f896611
Add CoreLoggerInstance variable to CoreBaseModule 2024-04-06 14:47:50 +02:00
a09009ebe5
Remove cleanup test
A better version of the 'z_cleanup' test has been integrated into Bessere Tests in the latest commit (as of writing this commit message). Therefore this test is no longer required as Bessere Tests will warn us on shutdown for any leftover children or orphan nodes from now on.
2024-04-06 14:47:50 +02:00
3f08bfbbd0
Migrate to functions for delivering test results 2024-04-06 14:47:49 +02:00
8d819c9ffa
Add cleanup check 2024-04-06 14:47:49 +02:00
4e6d7c31f3
Update testing
- Update besseretests to latest commit
- tests/utils.gd was nuked, all tests now extend tests/unitbase.gd
2024-04-06 14:47:49 +02:00
b8a43ce159
Framework rework
Changes in this commit include:
- Add Core.cleanup() and CoreBaseModule._cleanup() functions
- All builtin modules now clean and free any nodes
- Reduce code duplication in src/core.gd by not writing the same code for all builtin modules but instead iterating through a array
2024-04-06 14:47:49 +02:00
3bcc18df82
Add unit testing for misc.gd (partial #11) 2024-04-06 14:47:49 +02:00
5dfac5458a
Fix core.gd test 2024-04-06 14:47:49 +02:00
9608d6b0ab
Add unit testing for core.gd (partial #11) 2024-04-06 14:47:49 +02:00