Files
Claude-Code-Workflow/tests/run-loop-comprehensive-test.sh
catlog22 d9f1d14d5e feat: add CCW Loop System for automated iterative workflow execution
Implements a complete loop execution system with multi-loop parallel support,
dashboard monitoring, and comprehensive security validation.

Core features:
- Loop orchestration engine (loop-manager, loop-state-manager)
- Multi-loop parallel execution with independent state management
- REST API endpoints for loop control (pause, resume, stop, retry)
- WebSocket real-time status updates
- Dashboard Loop Monitor view with live updates
- Security: path traversal protection and sandboxed JavaScript evaluation

Test coverage:
- 42 comprehensive tests covering multi-loop, API, WebSocket, security
- Security validation for success_condition injection attacks
- Edge case handling and end-to-end workflow tests
2026-01-21 22:55:24 +08:00

27 lines
651 B
Bash

#!/bin/bash
# CCW Loop System - Comprehensive Test Runner
echo "============================================"
echo "🧪 CCW LOOP SYSTEM - COMPREHENSIVE TESTS"
echo "============================================"
echo ""
# Check if Node.js is available
if ! command -v node &> /dev/null; then
echo "❌ Error: Node.js is not installed or not in PATH"
exit 1
fi
# Get the project root directory
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$PROJECT_ROOT"
echo "📁 Project Root: $PROJECT_ROOT"
echo ""
# Run the comprehensive test
node tests/loop-comprehensive-test.js "$@"
# Exit with the test's exit code
exit $?