BioFlow Requirements
Integration Test Specifications
  • SRS-001
    reviewed 1. First-launch database initialisation SRS-001

    On first launch, when no database file exists at the configured application data path, the system shall create the local database, apply the current schema version, and create a default local clinic record that serves as the container for locally-created patient records.

IT-001
reviewedPassed 1. First-launch DB initialisation IT-001

Instantiate AppDatabase against a temporary filesystem path at which no database file exists. Trigger the initialisation pathway by performing any query that forces Drift's onCreate migration to run. Inspect the resulting state of the database on disk and of the seeded tables.