Hegel 0.3.5
Property-based testing for C++
Loading...
Searching...
No Matches
hegel.h
1#pragma once
2
216
217#include "core.h"
218#include "settings.h"
219#include "test_case.h"
220
221#include "generators/builds.h"
222#include "generators/collections.h"
223#include "generators/combinators.h"
224#include "generators/default.h"
225#include "generators/formats.h"
226#include "generators/numeric.h"
227#include "generators/primitives.h"
228#include "generators/random.h"
229#include "generators/strings.h"
230
231#include <functional>
232
236namespace hegel {
237
268 void test(const std::function<void(TestCase&)>& test_fn,
269 const Settings& settings = {});
270} // namespace hegel
Handle to the currently-executing test case.
Definition test_case.h:34
Main namespace.
Definition core.h:16
void test(const std::function< void(TestCase &)> &test_fn, const Settings &settings={})
Run a Hegel test.
Configuration options for hegel::test().
Definition settings.h:116