2024-12-22 20:56:52 -03:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
echo "Running gb-testing test suite..."
|
|
|
|
|
|
|
|
# Run integration tests
|
|
|
|
echo "Running integration tests..."
|
|
|
|
cargo test --test '*' --features integration
|
|
|
|
|
|
|
|
# Run load tests
|
|
|
|
echo "Running load tests..."
|
|
|
|
cargo test --test '*' --features load
|
|
|
|
|
|
|
|
# Run performance benchmarks
|
2025-03-09 22:35:57 -03:00
|
|
|
#echo "Running performance benchmarks..."
|
|
|
|
#cargo bench
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
# Run stress tests
|
2025-03-09 22:35:57 -03:00
|
|
|
#echo "Running stress tests..."
|
|
|
|
#cargo test --test '*' --features stress
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
# Run chaos tests
|
2025-03-09 22:35:57 -03:00
|
|
|
#echo "Running chaos tests..."
|
|
|
|
#cargo test --test '*' --features chaos
|
2024-12-22 20:56:52 -03:00
|
|
|
|
|
|
|
echo "All tests completed!"
|