Add unit tests for the services

This commit is contained in:
Simon Goller 2024-04-27 00:03:15 +02:00
parent 926ac006e7
commit 3b20d12ba1
9 changed files with 231 additions and 12 deletions

View file

@ -3,6 +3,10 @@ name = "service_impl"
version = "0.1.0"
edition = "2021"
[dependencies]
async-trait = "0.1.80"
mockall = "0.12.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies.service]
@ -10,3 +14,7 @@ path = "../service"
[dependencies.dao]
path = "../dao"
[dev-dependencies.tokio]
version = "1.37.0"
features = ["full"]