kaycxx-test
C++ unit test framework
Loading...
Searching...
No Matches
test_filter.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 <regex>
12#include <string>
13#include <vector>
14
15namespace kaycxx::test {
16
25 std::vector<std::string> paths;
26
28 std::vector<std::regex> name_patterns;
29};
30
31} // namespace kaycxx::test
Unit test framework functions and types.
Definition test.hpp:15
Selects registered tests by source path and full description.
Definition test_filter.hpp:23
std::vector< std::string > paths
Source path substrings to match against tests and their parent suites.
Definition test_filter.hpp:25
std::vector< std::regex > name_patterns
Compiled regular expressions matched against full test descriptions.
Definition test_filter.hpp:28