20#ifndef ORES_TESTING_SCOPED_DATABASE_HELPER_HPP
21#define ORES_TESTING_SCOPED_DATABASE_HELPER_HPP
24#include "ores.testing/database_helper.hpp"
Testing infrastructure common to all test projects.
Definition database_helper.hpp:27
Context for the operations on a postgres database.
Definition context.hpp:30
Provides database setup and cleanup utilities for tests.
Definition database_helper.hpp:32
database::context & context()
Gets the database context.
Definition database_helper.hpp:56
void truncate_table(const std::string &table_name)
Truncates the specified table.
Definition database_helper.cpp:32
Provides database setup and cleanup utilities for tests.
Definition scoped_database_helper.hpp:31
database::context & context()
Gets the database context.
Definition scoped_database_helper.hpp:40