2024-12-22 20:56:52 -03:00
|
|
|
[package]
|
|
|
|
name = "gb-testing"
|
2024-12-25 16:25:09 -03:00
|
|
|
version = { workspace = true }
|
|
|
|
edition = { workspace = true }
|
|
|
|
authors = { workspace = true }
|
|
|
|
license = { workspace = true }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
2025-03-09 22:35:57 -03:00
|
|
|
# Define features
|
|
|
|
[features]
|
|
|
|
default = ["integration"] # No default features
|
|
|
|
integration = [] # Feature for integration tests
|
|
|
|
load = [] # Feature for load tests
|
|
|
|
stress = [] # Feature for stress tests
|
|
|
|
chaos = [] # Feature for chaos tests
|
|
|
|
|
|
|
|
|
2024-12-22 20:56:52 -03:00
|
|
|
[dependencies]
|
|
|
|
gb-core = { path = "../gb-core" }
|
|
|
|
gb-auth = { path = "../gb-auth" }
|
2025-03-08 12:10:13 -03:00
|
|
|
gb-server = { path = "../gb-server" }
|
2025-03-09 22:35:57 -03:00
|
|
|
gb-file = { path = "../gb-file" }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
2025-03-08 12:10:13 -03:00
|
|
|
anyhow = { workspace = true }
|
2024-12-22 20:56:52 -03:00
|
|
|
# Testing frameworks
|
|
|
|
goose = "0.17" # Load testing
|
2025-03-08 12:10:13 -03:00
|
|
|
criterion = { workspace = true, features = ["async_futures"] }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
# Async Runtime
|
2025-03-08 12:10:13 -03:00
|
|
|
tokio = { workspace = true }
|
2025-03-11 09:17:04 -03:00
|
|
|
tokio-stream= { workspace = true }
|
2025-03-08 12:10:13 -03:00
|
|
|
async-trait = { workspace = true }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
# HTTP Client
|
2025-03-08 12:10:13 -03:00
|
|
|
reqwest = { workspace = true, features = ["json", "stream"] }
|
|
|
|
hyper = { workspace = true, features = ["full"] }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
# WebSocket Testing
|
2025-03-08 12:10:13 -03:00
|
|
|
tokio-tungstenite = { workspace = true }
|
|
|
|
tungstenite = { workspace = true }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
# Database
|
2025-03-08 12:10:13 -03:00
|
|
|
sqlx = { workspace = true }
|
|
|
|
redis = { workspace = true }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
# Metrics & Monitoring
|
2025-03-08 12:10:13 -03:00
|
|
|
prometheus = { workspace = true, features = ["process"] }
|
|
|
|
tracing = { workspace = true }
|
|
|
|
opentelemetry = { workspace = true }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
# Serialization
|
2025-03-08 12:10:13 -03:00
|
|
|
serde = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
# Utils
|
2025-03-08 12:10:13 -03:00
|
|
|
futures = { workspace = true }
|
|
|
|
rand = { workspace = true }
|
|
|
|
fake = { workspace = true, features = ["derive"] }
|
|
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
|
|
uuid = { workspace = true, features = ["v4"] }
|
2024-12-22 20:56:52 -03:00
|
|
|
|
2025-03-09 22:35:57 -03:00
|
|
|
|
|
|
|
minio = { workspace = true }
|
|
|
|
actix-web ={ workspace = true }
|
|
|
|
actix-multipart ={ workspace = true }
|
|
|
|
sanitize-filename = { workspace = true }
|
|
|
|
tempfile = { workspace = true }
|
|
|
|
bytes = { workspace = true }
|
|
|
|
|
2024-12-22 20:56:52 -03:00
|
|
|
[dev-dependencies]
|
2025-03-08 12:10:13 -03:00
|
|
|
rstest = { workspace = true }
|
2024-12-22 20:56:52 -03:00
|
|
|
wiremock = "0.5"
|
|
|
|
assert_cmd = "2.0"
|
|
|
|
predicates = "3.0"
|