godot/tests
Andrii Doroshenko (Xrayez) 0512cc01d9 Hide implementation details of doctest macros
`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.
2020-07-30 16:58:12 +03:00
..
SCsub Crash when debugging tests by disabling thread_local in /MT context 2020-07-26 18:24:52 +01:00
test_astar.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_astar.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_basis.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_basis.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_class_db.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_class_db.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_gdscript.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_gdscript.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_gui.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_gui.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_macros.h Hide implementation details of doctest macros 2020-07-30 16:58:12 +03:00
test_main.cpp Hide implementation details of doctest macros 2020-07-30 16:58:12 +03:00
test_main.h Cleanup obsolete tests from displaying in help 2020-07-29 15:07:16 +03:00
test_math.cpp Make all String float conversion methods be 64-bit 2020-07-27 18:38:53 -04:00
test_math.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_oa_hash_map.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_oa_hash_map.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_ordered_hash_map.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_ordered_hash_map.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_physics_2d.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_physics_2d.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_physics_3d.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_physics_3d.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_render.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_render.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_shader_lang.cpp Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_shader_lang.h Move tests to the top-level directory 2020-07-26 00:06:07 +03:00
test_string.h Hide implementation details of doctest macros 2020-07-30 16:58:12 +03:00
test_validate_testing.h Hide implementation details of doctest macros 2020-07-30 16:58:12 +03:00
test_variant.h Hide implementation details of doctest macros 2020-07-30 16:58:12 +03:00