Age | Commit message (Collapse) | Author |
|
TextServer.
|
|
Add a test suite for AABB
|
|
|
|
Add a test suite for Object
|
|
Add a test suite for Rect2 and Rect2i
|
|
|
|
|
|
Add a test suite for JSON
|
|
Those options were likely copy-pasted from documentation examples.
This change also allows to break in the debugger by default when
assertions fail, and this can be configured via command-line interface.
|
|
|
|
Add a test suite for NodePath
|
|
Add a test suite for PCKPacker
|
|
|
|
|
|
This test suite doesn't attempt to test error/invalid cases since
the current JSON parser has a lot of false negatives.
|
|
|
|
-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
|
|
Removed make_binders and the old style generated binders.
|
|
Adds unit tests for command_queue_mt.h/cpp
In this revision, some unit tests will fail due to issue #42107.
|
|
Adds a number of test cases for `List::swap()`.
|
|
GDNative-specific tests moved out of main `tests/` folder into
`modules/gdnative/tests`.
Include path for GDNative headers are still hardcoded in `tests/SCsub`,
but made conditional now.
Also fixed test case tag typos.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
|
|
|
|
Instead of just the one argument that is exactly --test.
The long-form arguments --test-case and --test-suite were ignored.
|
|
|
|
Add a test suite for Expression
|
|
This also makes the first parameter of `Expression::execute()` optional
from C++. Previously, it was only optional in the scripting API.
|
|
|
|
|
|
Fix heap use after free in the doctest "main".
|
|
|
|
|
|
`test_macros.h` is created to provide various macros acting as aliases for
doctest macros to work better with Godot internals and conventions. This also
makes it accessible for those who'd like to start writing tests in Godot, as
most vital information can be put together and documented directly in
`test_macros.h` header.
Developers are encouraged to include the new `tests/test_macros.h` for writing
new tests over `thirdparty/doctest/doctest.h`.
Added `TEST_CASE_PENDING("name")` as an alias for
`TEST_CASE("name", doctest::skip())` which could be used to mark failing tests
for issues yet to be fixed, so as to not affect CI testing results.
Added `ERR_PRINT_OFF` and `ERR_PRINT_ON` to control error printing for testing
various **expected** failure paths within Godot without polluting the test
summary with error messages.
|
|
|
|
Added a test case for `VariantWriter` and `VariantParser` overflows.
|
|
Modules-specific tests can be written under respective module folders.
Each module should have "tests" folder created with the tests implemented
as `doctest` headers, so they can be collected by the buildsystem and
included directly in `tests/test_main.cpp` to be compiled.
|
|
|