How to write tests for GDNative C++ ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Jabakada

Hi!

How can I write unit/integration tests for GDNative C++?

I’m fine with any test framework, but I would prefer using Catch GitHub - catchorg/Catch2: A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch).

What do you usually use for testing? Is there any tutorial regarding this?

Thanks!