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

Defines the it function for registering test cases. More...

#include <source_location>
#include <string_view>
#include <kaycxx/test/callback.hpp>
#include <kaycxx/test/skip.hpp>
Include dependency graph for it.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::it (std::string_view description, callback body, std::source_location location=std::source_location::current())
 Registers a test case in the current suite.
 
void kaycxx::test::it (std::string_view description, skip_condition skip_condition, callback body, std::source_location location=std::source_location::current())
 Registers a test case in the current suite with a skip condition.
 

Detailed Description

Defines the it function for registering test cases.