kaycxx-test
C++ unit test framework
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
test_registry.hpp File Reference

Defines isolated test registries. More...

#include <cstddef>
#include <functional>
#include <memory>
#include <source_location>
#include <string>
#include <string_view>
#include <vector>
#include <kaycxx/test/callback.hpp>
#include <kaycxx/test/hook.hpp>
#include <kaycxx/test/reporter.hpp>
#include <kaycxx/test/run_options.hpp>
#include <kaycxx/test/skip.hpp>
#include <kaycxx/test/test_filter.hpp>
Include dependency graph for test_registry.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kaycxx::test::test_registry
 Owns a set of test suites and the registration stack used while suite bodies execute. More...
 

Namespaces

namespace  kaycxx
 Root namespace for kaycxx libraries.
 
namespace  kaycxx::test
 Unit test framework functions and types.
 

Functions

test_registrykaycxx::test::default_registry ()
 Returns the global registry used by the public DSL functions.
 
test_registrykaycxx::test::active_registry ()
 Returns the registry currently used by the public DSL functions.
 
test_registrykaycxx::test::set_active_registry (test_registry &registry)
 Changes the registry used by the public DSL functions.
 
void kaycxx::test::reset_active_registry ()
 Resets the active registry to the default registry.
 

Detailed Description

Defines isolated test registries.