kaycxx-test
C++ unit test framework
Loading...
Searching...
No Matches
run_tests.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Klaus Reimer <k@ailis.de>
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
11#include <iosfwd>
12
13#include <kaycxx/term/ansi_mode.hpp>
15
16namespace kaycxx::test {
17
24
36int run_tests(int argc, char* argv[]);
37
44int run_tests(std::ostream& output);
45
53int run_tests(std::ostream& output, kaycxx::term::ansi_mode ansi_mode);
54
62int run_tests(test_registry& registry, std::ostream& output);
63
72int run_tests(test_registry& registry, std::ostream& output, kaycxx::term::ansi_mode ansi_mode);
73
74} // namespace kaycxx::test
Owns a set of test suites and the registration stack used while suite bodies execute.
Definition test_registry.hpp:37
Unit test framework functions and types.
Definition test.hpp:15
int run_tests()
Runs the global test registry and writes the report to standard output.
Defines isolated test registries.