chore: update test deps
This commit is contained in:
parent
4bd21d91f5
commit
51458e391d
1 changed files with 1 additions and 27 deletions
28
Cargo.toml
28
Cargo.toml
|
|
@ -10,34 +10,22 @@ keywords = ["testing", "bot", "integration-testing", "e2e", "general-bots"]
|
||||||
categories = ["development-tools::testing"]
|
categories = ["development-tools::testing"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Common library for shared types
|
|
||||||
botlib = { workspace = true, features = ["database"] }
|
|
||||||
|
|
||||||
# Async runtime
|
# Async runtime
|
||||||
tokio = { workspace = true, features = ["full", "test-util", "macros"] }
|
tokio = { workspace = true, features = ["full", "test-util", "macros"] }
|
||||||
async-trait = { workspace = true }
|
async-trait = { workspace = true }
|
||||||
futures = { workspace = true }
|
futures = { workspace = true }
|
||||||
futures-util = { workspace = true }
|
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
diesel = { workspace = true, features = ["postgres", "uuid", "chrono", "serde_json", "r2d2"] }
|
diesel = { workspace = true, features = ["postgres", "uuid", "chrono", "serde_json", "r2d2"] }
|
||||||
diesel_migrations = { workspace = true }
|
|
||||||
|
|
||||||
# HTTP mocking and testing
|
# HTTP mocking and testing
|
||||||
wiremock = { workspace = true }
|
wiremock = { workspace = true }
|
||||||
cookie = { workspace = true }
|
cookie = { workspace = true }
|
||||||
mockito = { workspace = true }
|
|
||||||
reqwest = { workspace = true, features = ["json", "cookies", "blocking", "rustls-tls"] }
|
reqwest = { workspace = true, features = ["json", "cookies", "blocking", "rustls-tls"] }
|
||||||
|
|
||||||
# Web/E2E testing - using Chrome DevTools Protocol directly (no chromedriver)
|
# Web/E2E testing - using Chrome DevTools Protocol directly (no chromedriver)
|
||||||
chromiumoxide = { workspace = true }
|
chromiumoxide = { workspace = true }
|
||||||
|
|
||||||
# Web framework for test server
|
|
||||||
axum = { workspace = true }
|
|
||||||
tower = { workspace = true }
|
|
||||||
tower-http = { workspace = true, features = ["cors", "trace"] }
|
|
||||||
hyper = { version = "0.14", features = ["full"] }
|
|
||||||
|
|
||||||
# Serialization
|
# Serialization
|
||||||
serde = { workspace = true, features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
|
|
@ -45,13 +33,8 @@ serde_json = { workspace = true }
|
||||||
# Utilities
|
# Utilities
|
||||||
uuid = { workspace = true, features = ["serde", "v4"] }
|
uuid = { workspace = true, features = ["serde", "v4"] }
|
||||||
chrono = { workspace = true, features = ["serde"] }
|
chrono = { workspace = true, features = ["serde"] }
|
||||||
rand = { workspace = true }
|
|
||||||
tempfile = { workspace = true }
|
|
||||||
which = { workspace = true }
|
which = { workspace = true }
|
||||||
regex = { workspace = true }
|
regex = { workspace = true }
|
||||||
base64 = { workspace = true }
|
|
||||||
url = { workspace = true }
|
|
||||||
dirs = { workspace = true }
|
|
||||||
|
|
||||||
# Process management for services
|
# Process management for services
|
||||||
nix = { workspace = true }
|
nix = { workspace = true }
|
||||||
|
|
@ -67,19 +50,10 @@ tracing-subscriber = { workspace = true, features = ["fmt", "env-filter"] }
|
||||||
|
|
||||||
# Error handling
|
# Error handling
|
||||||
anyhow = { workspace = true }
|
anyhow = { workspace = true }
|
||||||
thiserror = { workspace = true }
|
|
||||||
|
|
||||||
# Test framework enhancements
|
# Test framework enhancements
|
||||||
pretty_assertions = { workspace = true }
|
|
||||||
|
|
||||||
# Async testing
|
|
||||||
tokio-test = { workspace = true }
|
|
||||||
|
|
||||||
# Rhai for BASIC function testing
|
# Rhai for BASIC function testing
|
||||||
rhai = { git = "https://github.com/therealprof/rhai.git", branch = "features/use-web-time", features = ["sync"] }
|
rhai = { workspace = true, features = ["sync"] }
|
||||||
|
|
||||||
# Configuration
|
|
||||||
dotenvy = { workspace = true }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
insta = { workspace = true }
|
insta = { workspace = true }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue