Scroll to navigation

zt_test_suite_func(3) Library Functions Manual (prm) zt_test_suite_func(3)

NAME

zt_test_suite_functype of pointer to a test suite function

SYNOPSIS

typedef void
(*zt_test_suite_func)(zt_visitor);

DESCRIPTION

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.

IMPLEMENTATION NOTES

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

SEE ALSO

zt_main(3), zt_visitor(3)

HISTORY

zt_test_suite_func first appeared in libzt 0.1

AUTHORS

Zygmunt Krynicki <me@zygoon.pl>

January 12, 2020 libzt 0.3.1