e2e2f240

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Use memdb test databases in SQLite test helper (#54)

Open test SQLite databases with memdb.TestDB so tests use the helper's
per-test database lifecycle instead of generating random VFS names locally.

Accept an already-open *sql.DB in sqlite.New so production and tests both
open their database handles explicitly before store initialization.

Reviewed-on: https://codeberg.org/mtlynch/go-app-starter/pulls/54

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 37s 37s 39s
Build 3s 1m01s 19s 23s
Test - - - -
Deploy - - - -
Suite 0s 1m40s 39s 39s

Timeline

0s10s20s30s