27 lines
		
	
	
		
			908 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			908 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | ||
| set -euo pipefail
 | ||
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 | ||
| cd "$SCRIPT_DIR"
 | ||
| 
 | ||
| echo "🧪 Running HeroDB Redis Compatibility Tests"
 | ||
| echo "=========================================="
 | ||
| 
 | ||
| echo ""
 | ||
| echo "1️⃣  Running Simple Redis Tests (4 tests)..."
 | ||
| echo "----------------------------------------------"
 | ||
| cargo test -p herodb --test simple_redis_test -- --nocapture
 | ||
| 
 | ||
| echo ""
 | ||
| echo "2️⃣  Running Comprehensive Redis Integration Tests (13 tests)..."
 | ||
| echo "----------------------------------------------------------------"
 | ||
| cargo test -p herodb --test redis_integration_tests -- --nocapture
 | ||
| cargo test -p herodb --test debug_hset -- --nocapture
 | ||
| cargo test -p herodb --test debug_hset_simple -- --nocapture
 | ||
| 
 | ||
| echo ""
 | ||
| echo "3️⃣  Running All Workspace Tests..."
 | ||
| echo "--------------------------------"
 | ||
| cargo test --workspace -- --nocapture
 | ||
| 
 | ||
| echo ""
 | ||
| echo "✅ Test execution completed!" |