Files
database_helper/tests/test_connections.cpp
2025-03-07 07:23:39 +00:00

37 lines
670 B
C++

#include <thread>
#define CATCH_CONFIG_MAIN
#include <catch2/catch.hpp>
#include <DatabaseHelper.hpp>
#include <loguru.hpp>
SCENARIO("Testing the SimCore Sensor")
{
std::string url = "localhost";
DatabaseHelper database(url,"test","123456","test");
database.connect();
database.getAvailableTables();
GIVEN("different Attributes for a Track in different forms")
{
// LOG_S(INFO)<<database.connect();
WHEN("constructing Track Object with data")
{
THEN("check if Track attributes are correct")
{
// REQUIRE("hello world" == "hello world");
} //THEN
} // WHEN
} // GIVEN
} //SCENARIO