libwreport 3.43
wreport::tests::FilteringTestController Struct Reference

Test controller that filters tests via a blocklist/allowlist system containing glob patterns on testcase.testmethod names. More...

#include <testrunner.h>

Inheritance diagram for wreport::tests::FilteringTestController:
wreport::tests::TestController wreport::tests::SimpleTestController wreport::tests::VerboseTestController

Public Member Functions

bool test_method_should_run (const std::string &fullname) const
Public Member Functions inherited from wreport::tests::TestController
virtual bool test_case_begin (const TestCase &, const TestCaseResult &)
 Called before running a test case.
virtual void test_case_end (const TestCase &, const TestCaseResult &)
 Called after running a test case.
virtual bool test_method_begin (const TestMethod &, const TestMethodResult &)
 Called before running a test method.
virtual void test_method_end (const TestMethod &, const TestMethodResult &)
 Called after running a test method.

Data Fields

std::string allowlist = std::string()
 Any method not matching this glob expression will not be run.
std::string blocklist = std::string()
 Any method matching this glob expression will not be run.

Detailed Description

Test controller that filters tests via a blocklist/allowlist system containing glob patterns on testcase.testmethod names.


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