micro-test-plus 6.0.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
counters.h File Reference

C++ header file with declarations for the µTest++ counters. More...

#include <cstddef>
#include "inlines/counters-inlines.h"

Go to the source code of this file.

Classes

class  micro_os_plus::micro_test_plus::counters
 Aggregated check and test case counters for a node in the test tree. More...

Namespaces

namespace  micro_os_plus
 The primary namespace for the µOS++ framework.
namespace  micro_os_plus::micro_test_plus
 Primary namespace for the µTest++ testing framework.
namespace  micro_os_plus::micro_test_plus::detail
 Internal implementation details for the µTest++ framework.

Detailed Description

This header provides the counters class, which aggregates the counts of passed checks, failed checks, and executed test cases for a test runner, test suite, or test case. Instances of this class are embedded inside the runner and every node of the test tree, and updated in place as the test session progresses.

All definitions reside within the micro_os_plus::micro_test_plus namespace.

The class is public, since totals() returns it, and the tests may read their own counters through it.

This file is included by micro-os-plus/micro-test-plus.h, which is the header that the applications include.

Definition in file counters.h.