- Add test-helpers feature to domain crate with in-memory mocks and panic stubs for all ports - Add TestContextBuilder to application crate for zero-database test setup - Add unit tests for log_review, register, login, add_to_watchlist, delete_review use cases - Extract DatabaseAdapters factory and build_* helpers into presentation/src/factory.rs - Refactor wire_dependencies() in main.rs to use factory module
22 lines
442 B
TOML
22 lines
442 B
TOML
[package]
|
|
name = "application"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
domain = { workspace = true }
|
|
uuid = { workspace = true }
|
|
chrono = { workspace = true }
|
|
tracing = { workspace = true }
|
|
futures = { workspace = true }
|
|
tokio = { workspace = true }
|
|
|
|
[features]
|
|
xlsx = []
|
|
federation = []
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true }
|
|
domain = { workspace = true, features = ["test-helpers"] }
|