Zephyr API 3.6.99
Loading...
Searching...
No Matches
ztest_suite_node Struct Reference

A single node of test suite. More...

#include <ztest_test.h>

Data Fields

const char *const name
 The name of the test suite.
 
const ztest_suite_setup_t setup
 Setup function.
 
const ztest_suite_before_t before
 Before function.
 
const ztest_suite_after_t after
 After function.
 
const ztest_suite_teardown_t teardown
 Teardown function.
 
const ztest_suite_predicate_t predicate
 Optional predicate filter.
 
struct ztest_suite_stats *const stats
 Stats.
 

Detailed Description

A single node of test suite.

Each node should be added to a single linker section which will allow ztest_run_test_suites() to iterate over the various nodes.

Field Documentation

◆ after

const ztest_suite_after_t ztest_suite_node::after

After function.

◆ before

const ztest_suite_before_t ztest_suite_node::before

Before function.

◆ name

const char* const ztest_suite_node::name

The name of the test suite.

◆ predicate

const ztest_suite_predicate_t ztest_suite_node::predicate

Optional predicate filter.

◆ setup

const ztest_suite_setup_t ztest_suite_node::setup

Setup function.

◆ stats

struct ztest_suite_stats* const ztest_suite_node::stats

Stats.

◆ teardown

const ztest_suite_teardown_t ztest_suite_node::teardown

Teardown function.


The documentation for this struct was generated from the following file: