---
name: "zt_test_suite_func"
section: "3"
platform: "linux"
package: "libzt-doc"
version: "0.3.1-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/zt_test_suite_func"
---

# zt\_test\_suite\_func(3)

type of pointer to a test suite function

## NAME

**zt\_test\_suite\_func** – type 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 **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.

## SEE ALSO

[zt\_main(3)](/zt_main/3.md), [zt\_visitor(3)](/zt_visitor/3.md)

## HISTORY

**zt\_test\_suite\_func** first appeared in libzt 0.1

## AUTHORS

Zygmunt Krynicki ⟨*me@zygoon.pl*⟩
