ZT_TEST_SUITE_FUNC(3)
π zt_test_suite_func π
okay so bestie, welcome to the LOCAL manual, section 3 β this one's about zt_test_suite_func(3) and it's lowkey iconic. let's get into it β¨
β¨ NAME β¨
zt_test_suite_func β the type of pointer to a test suite function π«Ά
πΈ SYNOPSIS πΈ
typedef void
(*zt_test_suite_func)(zt_visitor);
π¦ DESCRIPTION π¦
so zt_test_suite_func is a pointer to a function that implements a test suite. and what does a test suite do? it groups up any number of test cases and other test suites. it's giving friend group energy fr fr π
a single test suite β the one you pass as an argument to zt_main() β is what gets used to enumerate and discover all the tests in a given test program. that's the whole vibe. one suite to find them all π
π IMPLEMENTATION NOTES π
the zt_visitor argument? yeah, that's what implements the whole test case and test suite enumeration system. it's the main character of the mechanism, no cap π§
π SEE ALSO π
go read those too bestie, they're part of the lore π
β HISTORY β
zt_test_suite_func first appeared in libzt 0.1 β a true OG πΈ
π AUTHORS π
Zygmunt Krynicki <me@zygoon.pl> β ty for your service π«‘π
and that's the whole page bestie! mwah π
libzt 0.3.1 Β· January 12, 2020 Β· zt_test_suite_func(3) β ok bye, ily, go write some tests π
β¨π¦
π¦ where this page comes from
- debian bookworm: libzt-doc 0.3.1-4 Β· LGPL-3.0-only
- debian trixie: libzt-doc 0.3.1-4 Β· LGPL-3.0-only
- ubuntu jammy: libzt-doc 0.3.1-4 Β· LGPL-3.0-only
- ubuntu noble: libzt-doc 0.3.1-4build1 Β· LGPL-3.0-only
- ubuntu questing: libzt-doc 0.3.1-4build1
- ubuntu resolute: libzt-doc 0.3.1-4build2 Β· LGPL-3.0-only
- ubuntu stonking: libzt-doc 0.3.1-4build2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms