Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupCSVDBTest ¶
SetupCSVDBTest creates a csvdb-driver database connection backed by a temp directory of CSV fixture files. The database and temp directory are cleaned up automatically when the test finishes.
Unlike the SQLite integration tests, there is no createTestTables step — the tables are created at Open time from the CSV file headers. There is also no cleanupTestData step — each test gets a fresh temp directory with fresh CSV files, so there is no cross-test data leakage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.