17 lines
368 B
Bash
Executable File
17 lines
368 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Script to run integration tests for the Hotel Booking API
|
|
|
|
echo "Running integration tests for Hotel Booking API..."
|
|
echo "=================================================="
|
|
|
|
# Change to Backend directory
|
|
cd "$(dirname "$0")"
|
|
|
|
# Run pytest with integration marker
|
|
pytest src/tests/ -v -m integration --tb=short
|
|
|
|
# Exit with pytest's exit code
|
|
exit $?
|
|
|