DOKK / manpages / debian 11 / libzt-doc / zt_test_suite_func.3.en
zt_test_suite_func(3) Library Functions Manual (prm) zt_test_suite_func(3)

zt_test_suite_functype of pointer to a test suite function

typedef void
(*zt_test_suite_func)(zt_visitor);

zt_test_suite_func is a pointer to a function implementing a test suite, which groups any number of test cases and other test suites.

A single test suite, passed as an argument to (), is used to enumerate and discover all the tests in a given test program.

The zt_visitor argument is used to implement the test case and test suite enumeration system.

zt_main(3), zt_visitor(3)

zt_test_suite_func first appeared in libzt 0.1

Zygmunt Krynicki <me@zygoon.pl>

January 12, 2020 libzt 0.3.1