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

Defines skip conditions for test cases. More...

#include <functional>
#include <string>
#include <string_view>
Include dependency graph for skip.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kaycxx::test::skip_condition
 Condition used by a test case to decide whether it should be skipped before running hooks and test code. More...
 

Namespaces

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

Functions

skip_condition kaycxx::test::skip (std::string_view reason="")
 Creates a condition that always skips the test.
 
skip_condition kaycxx::test::skip_if (std::move_only_function< bool()> condition, std::string_view reason="")
 Creates a condition that skips the test when the callback returns true.
 
skip_condition kaycxx::test::skip_unless (std::move_only_function< bool()> condition, std::string_view reason="")
 Creates a condition that skips the test unless the callback returns true.
 

Detailed Description

Defines skip conditions for test cases.