score&test, Tests for a42853a & test_utils mod

Tests for all the core functionality implemented to score in a42853a.

Optimistically adding a test_utils mod for shared test code
This commit is contained in:
Julia Lange 2026-02-05 12:36:28 -08:00
parent 674079769d
commit fafb017f64
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
3 changed files with 211 additions and 0 deletions

View file

@ -3,6 +3,10 @@ use std::error::Error;
type Result<T> = std::result::Result<T, Box<dyn Error>>;
pub mod score;
#[cfg(test)]
pub mod test_utils;
pub struct AdapterPool(sqlx::SqlitePool);
pub struct AdapterBuilder {
database_url: String,