mirror of
https://github.com/SOCI/soci.git
synced 2026-02-15 02:38:42 -06:00
This doesn't work when using C++20 as they produce values of "char8_t*" type which is different from the expected "char*". Just assume UTF-8 encoding is always used, we already use /utf-8 flag for MSVC and all Unix compilers should use it too anyhow.
soci/tests
SOCI tests using CATCH testing framework live here.
Currently one test is built for each backend, i.e. there are
soci_oracle_test, soci_postgresql_test, soci_sqlite3_test and so on and
for ODBC backend there are multiple versions of the test depending on the ODBC
driver used. Each of these tests can be run with a single parameter describing
the database to use for testing in the backend-specific way as well as any of
the standard CATCH command line options.