Commit graph

28 commits

Author SHA1 Message Date
629c8601f9
Fix output overflow prevention 2024-05-11 15:17:53 +02:00
e3e40ae2f9
Speedup test execution 2024-05-11 14:03:10 +02:00
cc75f108da
Core.new() now requires awaiting... hmm... 2024-05-10 21:21:20 +02:00
509667045d
Add fix for output overflows during testing 2024-05-09 15:21:12 +02:00
98d1e9d239
Add config updates in test_stringify_variables 2024-05-09 15:21:03 +02:00
cd711fe0bd
Fix custom modules 2024-05-07 17:02:41 +02:00
e7d0a9d9a6
Add special welcome message
This also adds this nice banner (thanks figlet!):
_________________________________   __________                                                    ______
__  ____/_  __ \__  __ \__  ____/   ___  ____/____________ _______ ___________      _________________  /__
_  /    _  / / /_  /_/ /_  __/      __  /_   __  ___/  __ `/_  __ `__ \  _ \_ | /| / /  __ \_  ___/_  //_/
/ /___  / /_/ /_  _, _/_  /___      _  __/   _  /   / /_/ /_  / / / / /  __/_ |/ |/ // /_/ /  /   _  ,<
\____/  \____/ /_/ |_| /_____/      /_/      /_/    \__,_/ /_/ /_/ /_/\___/____/|__/ \____//_/    /_/|_|
2024-04-23 21:34:38 +02:00
f8cefc511c
Fix misc:stringify_variables test 2024-04-23 21:02:11 +02:00
f5e50b1f6b
Fix core.gd unit test 2024-04-15 21:52:42 +02:00
cacb5226bf
Add stringify_variables method to misc.gd 2024-04-15 21:52:27 +02:00
287dea0182
Fix unit test and placeholder overlap 2024-04-08 20:18:49 +02:00
1c528da96f
Add erm module test 2024-04-06 14:00:44 +02:00
ccec39d85a
Update unitbase.gd and Bessere Tests
unitbase.gd now sets 'config.logger_level = CoreTypes.LoggerLevel.DIAG' and checks in 'unload_framework()' if the test was skipped and if so it does not crash.
2024-04-06 13:58:37 +02:00
0ee7198845
Make unitbase.gd more verbose 2024-04-06 13:13:27 +02:00
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