cppfig 0.1.0
Modern C++20 compile-time type-safe configuration library
Loading...
Searching...
No Matches
cppfig::testing::ConfigurationTestFixture Class Reference

Test fixture helper for configuration tests. More...

#include <mock.h>

Static Public Member Functions

static auto CreateTempFilePath (std::string_view prefix="test_config") -> std::string
 Creates a temporary file path for testing.
 
static void RemoveFile (const std::string &path)
 Removes a file if it exists.
 

Detailed Description

Test fixture helper for configuration tests.

Provides utilities for setting up test configurations with temporary files and cleanup.

Member Function Documentation

◆ CreateTempFilePath()

static auto cppfig::testing::ConfigurationTestFixture::CreateTempFilePath ( std::string_view  prefix = "test_config") -> std::string
inlinestatic

Creates a temporary file path for testing.

◆ RemoveFile()

static void cppfig::testing::ConfigurationTestFixture::RemoveFile ( const std::string &  path)
inlinestatic

Removes a file if it exists.


The documentation for this class was generated from the following file: