zt_test_suite_func(3)

zt_test_suite_func3

Type of pointer to a test suite function

Usage

typedef void

(*zt_test_suite_func)(zt_visitor);

Overview

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 zt_main(), 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.

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

History

zt_test_suite_func first appeared in libzt 0.1

Authors

Zygmunt Krynicki ⟨[email protected]⟩

From libzt-doc 0.3.1-4 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.