2025-02-28 21:42:14 +01:00
|
|
|
# Set environment variables to run tests on play.min.io
|
|
|
|
|
$Env:SERVER_ENDPOINT = "http://localhost:9000/"
|
|
|
|
|
$Env:ACCESS_KEY = "minioadmin"
|
|
|
|
|
$Env:SECRET_KEY = "minioadmin"
|
|
|
|
|
$Env:ENABLE_HTTPS = "false"
|
2025-06-23 13:38:40 +02:00
|
|
|
$Env:MINIO_SSL_CERT_FILE = "./tests/public.crt"
|
2025-02-28 21:42:14 +01:00
|
|
|
$Env:IGNORE_CERT_CHECK = "false"
|
|
|
|
|
$Env:SERVER_REGION = ""
|
|
|
|
|
|
|
|
|
|
# Run tests
|
2025-04-23 19:18:18 +02:00
|
|
|
cargo test -- --nocapture
|
|
|
|
|
|
|
|
|
|
# run one specific test and show stdout
|
|
|
|
|
# cargo test --test test_bucket_exists -- --nocapture
|