Compare commits
17 Commits
4707f0614c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c96d012fef | |||
| 3f09573631 | |||
| 3cd807566a | |||
| ef8a4ae994 | |||
| 4c54503a81 | |||
| 62d339b58c | |||
| 23cad37e03 | |||
| 779fb7b387 | |||
| 48c54c2f32 | |||
| f5294f5290 | |||
| 11d0865fd3 | |||
| 14f4fb8d16 | |||
| cc2d4aea5c | |||
| 5a45a72dcf | |||
| ba3909ec68 | |||
| 805dc2fe32 | |||
| 81fe00bfb8 |
Submodule HarborForge.Backend.Test updated: 477419cb57...b925b5c07e
Submodule HarborForge.Frontend.Test updated: f50a2efdbf...d65b23b118
@@ -1,10 +1,8 @@
|
||||
#!/bin/bash
|
||||
# Run frontend test with optional port exposure
|
||||
# Usage: ./run-test-frontend.sh [--expose-port {on|off}]
|
||||
# Default: off
|
||||
#
|
||||
# --expose-port on: Keep services running after test (manual cleanup required)
|
||||
# --expose-port off: Auto cleanup after test (default)
|
||||
# Default:
|
||||
# --expose-port off: Auto cleanup after test
|
||||
|
||||
set -e
|
||||
|
||||
@@ -112,7 +110,7 @@ fi
|
||||
|
||||
echo "✅ Services ready!"
|
||||
|
||||
# Run test
|
||||
# Run test using the image default CMD so proxy startup stays inside Frontend.Test Dockerfile
|
||||
echo "🧪 Running test..."
|
||||
docker compose -f "$COMPOSE_FILE" run --rm -e WORKERS=1 test
|
||||
TEST_EXIT_CODE=$?
|
||||
|
||||
Reference in New Issue
Block a user