Skip to content

Testing

Phil Schatzmann edited this page Aug 30, 2026 · 1 revision

tests/ has a small CTest suite covering Container/Screen scrolling, gesture dispatch and clipping, the callback-driven "virtualized content" mode, and the widgets that used to have a fixed item-count cap. It needs no board, display, or SDL - only TinyMaterialDesign + TinyGPU (pulled in the same way the examples are) - so it also builds with -DTMD_BUILD_EXAMPLES=OFF:

cmake -B build -S .
cmake --build build
ctest --test-dir build --output-on-failure

Pass -DTMD_BUILD_TESTS=OFF to skip building the tests.

Clone this wiki locally