Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SKIP_ALL.h
Go to the documentation of this file.
1#pragma once
2
5
6#include "MacrosCore.h" // IWYU pragma: keep
7
8#define _SPEC_SKIP_ALL() \
9 _GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_SPEC_SKIP_ALL_) { \
10 []() { \
11 if (auto* currentGroup = SpecsCpp::GlobalSpecGroup::instance().get()) \
12 currentGroup->mark_skipped(true); \
13 } \
14 }