Files
claude-config/skills/ssw-e2e-test/scripts/with_server.py
T
2026-05-18 09:28:27 +08:00

17 lines
538 B
Python

#!/usr/bin/env python3
"""
Server lifecycle management for E2E tests.
Delegates to webapp-testing/with_server.py for actual implementation.
"""
import subprocess
import sys
import os
# Resolve path to webapp-testing skill
SKILL_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
WEBAPP_TESTING = os.path.join(SKILL_DIR, 'webapp-testing', 'scripts', 'with_server.py')
if __name__ == '__main__':
# Delegate to webapp-testing/with_server.py
sys.exit(subprocess.call([sys.executable, WEBAPP_TESTING] + sys.argv[1:]))