xo-umbrella2/xo-testutil/include/xo/testutil/UtestConfig.hpp
Roland Conybeare 5a06bced3b git subrepo clone git@github.com:rconybea/xo-testutil.git xo-testutil
subrepo:
  subdir:   "xo-testutil"
  merged:   "281418da"
upstream:
  origin:   "git@github.com:rconybea/xo-testutil.git"
  branch:   "main"
  commit:   "281418da"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2026-06-06 21:50:26 -04:00

25 lines
559 B
C++

/** @file UtestConfig.hpp
*
* @author Roland Conybeare, May 2026
**/
namespace xo {
/** unit-test configuration here
*
* TODO: promote to its own library, along with UtestListener
**/
struct UtestConfig {
bool debug_flag() const { return debug_flag_; }
/** announce each test using catch2's listener api **/
bool announce_flag_ = false;
/** enable debug output for all (!) tests **/
bool debug_flag_ = false;
static UtestConfig * instance();
};
}
/* end UtestConfig.hpp */