updates
This commit is contained in:
16
Backend/run_tests.sh
Executable file
16
Backend/run_tests.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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 $?
|
||||
|
||||
Reference in New Issue
Block a user