halcheck
1.0
Loading...
Searching...
No Matches
include
halcheck
tyche
observe.hpp
1
#ifndef HALCHECK_TYCHE_OBSERVE_HPP
2
#define HALCHECK_TYCHE_OBSERVE_HPP
3
4
#include <halcheck/lib/string.hpp>
5
#include <halcheck/test/strategy.hpp>
6
7
#include <
string
>
8
9
namespace
halcheck {
namespace
tyche {
10
11
test::strategy
12
observe(
std::string
name,
std::string
folder =
lib::getenv
(
"HALCHECK_FOLDER"
).value_or(
".halcheck/observe"
));
13
14
}}
// namespace halcheck::tyche
15
16
#endif
std::string
halcheck::lib::getenv
lib::optional< std::string > getenv(const std::string &name)
Gets the value of an environment variable.
string
Generated by
1.12.0