brewlog/tests/server/main.rs
Jon Seager 35ea246ba2
test: add coverage for homepage, check-in, scan, and AI extraction
- 12 page smoke tests: homepage (empty/with data/stats), login,
  auth-gated redirects (check-in, add, account), authenticated page
  loads, logout, and scan redirect
- 5 check-in API tests: existing cafe, new cafe creation, auth,
  and validation
- 7 scan API tests: roaster+roast creation, slug-based reuse, bag
  creation with timeline event, auth, and field validation
- 9 AI extraction tests: all 3 extract endpoints with wiremock-mocked
  OpenRouter, both JSON and Datastar signal responses, auth and
  empty input validation
2026-02-05 19:19:05 +00:00

17 lines
319 B
Rust

pub mod auth_api;
pub mod backup;
pub mod bags_api;
pub mod brews_api;
pub mod cafes_api;
pub mod checkin_api;
pub mod cups_api;
pub mod datastar;
pub mod extraction_api;
pub mod gear_api;
pub mod helpers;
pub mod nearby_api;
pub mod pages;
pub mod roasters_api;
pub mod roasts_api;
pub mod scan_api;
pub mod timeline;