Files
soci/tests
Vadim Zeitlin 222154ed3b Optionally drop a sequence too in table_creator_base
Oracle and PostgreSQL tests creating sequences failed if ran two times
in a row because they didn't clean up the sequence they created and
tried to recreate an already existing sequence during the next run.

Fix this by handling this in table_creator_base::drop() if the derived
class passes an optional sequence name to the base class ctor.

Replaces #1364.
2026-08-15 00:50:16 +02:00
..
2025-03-04 18:03:53 +01:00
2025-03-04 17:58:53 +01:00
2025-03-04 18:03:53 +01:00
2025-03-04 18:03:53 +01:00
2025-03-04 18:03:53 +01:00

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.