mirror of
https://github.com/minio/minio-rs.git
synced 2025-12-06 23:36:52 +08:00
14 lines
432 B
PowerShell
14 lines
432 B
PowerShell
# 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"
|
|
$Env:MINIO_SSL_CERT_FILE = "./tests/public.crt"
|
|
$Env:IGNORE_CERT_CHECK = "false"
|
|
$Env:SERVER_REGION = ""
|
|
|
|
# Run tests
|
|
cargo test -- --nocapture
|
|
|
|
# run one specific test and show stdout
|
|
# cargo test --test test_bucket_exists -- --nocapture |