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

Defines the before_each hook registration function. More...

#include <source_location>
#include <kaycxx/test/callback.hpp>
#include <kaycxx/test/hook.hpp>
Include dependency graph for before_each.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

void kaycxx::test::before_each (callback body, std::source_location location=std::source_location::current())
 Registers a hook that runs before each test in the current suite and its child suites.
 
void kaycxx::test::before_each (hook value)
 Registers a hook that runs before each test in the current suite and its child suites.
 

Detailed Description

Defines the before_each hook registration function.