Files
soci/tests
Vadim Zeitlin 6939029dd8 Disallow text in int column in SQLite get_affected_rows() test
The unit test relies on failing to insert "a" into an integer column but
SQLite is perfectly fine with doing this by default, so use an explicit
CHECK constraint to prevent this from succeeding and to make it behave
in the same way as the other databases.
2025-01-29 00:28:05 +01:00
..
2025-01-24 16:45:26 +01:00
2022-12-25 23:27:51 +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.