Commit graph

14 commits

Author SHA1 Message Date
baf98e0329
Add storage module test + update Bessere Tests 2024-04-06 13:13:12 +02:00
a302304c8a
Adding a license to tests is probably a good idea 2024-03-31 18:03:57 +02:00
0dac9b66c5
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-03-31 17:08:55 +02:00
32b82c8f5b 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-03-31 16:20:34 +02:00
9607c34ecf
Update unitbase.gd 2024-03-31 11:23:36 +02:00
f97fddcb97
Add CoreLoggerInstance variable to CoreBaseModule 2024-03-31 11:22:57 +02:00
5d3634bfb2
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-03-31 03:14:03 +02:00
71d77398c8 Migrate to functions for delivering test results 2024-03-29 02:53:16 +01:00
51c1259eb3 Add cleanup check 2024-03-29 02:48:06 +01:00
a74ebecf6b Update testing
- Update besseretests to latest commit
- tests/utils.gd was nuked, all tests now extend tests/unitbase.gd
2024-03-29 02:41:36 +01:00
32e09ea296 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-03-29 02:40:56 +01:00
e9eb2d4fb8 Add unit testing for misc.gd (partial #11) 2024-03-28 15:18:34 +01:00
8d21356686 Fix core.gd test 2024-03-28 15:00:11 +01:00
da8ad13923 Add unit testing for core.gd (partial #11) 2024-03-28 14:48:50 +01:00