You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All shell-based test scripts have been migrated to JavaScript E2E tests using Jest. Use the following npm commands:
JavaScript Test Files
Note: Shell-based test scripts have been migrated to JavaScript E2E tests using Jest. The following test files provide comprehensive testing:
Test File
Description
Usage
test/e2e/scenarios/container-execution.test.js
Tests container functionality
npm run test:e2e
test/e2e/scenarios/claude-integration.test.js
Tests Claude integration
npm run test:e2e
test/e2e/scenarios/docker-execution.test.js
Tests Docker execution
npm run test:e2e
test/e2e/scenarios/security-firewall.test.js
Tests security and firewall
npm run test:e2e
Running Tests
# Run all tests
npm test# Run unit tests
npm run test:unit
# Run E2E tests
npm run test:e2e
# Run tests with coverage
npm run test:coverage
# Run tests in watch mode
npm run test:watch
Common Workflows
Setting Up for the First Time
# Set up the project
./scripts/setup/setup.sh
# Set up Claude authentication
./scripts/setup/setup-claude-auth.sh
# Set up secure credentials
./scripts/setup/setup-secure-credentials.sh
# Create AWS profile
./scripts/aws/create-aws-profile.sh claude-webhook YOUR_ACCESS_KEY YOUR_SECRET_KEY
Building and Running
# Build Docker images
./scripts/build/build.sh
# Start the API server
./scripts/runtime/start-api.sh
# Or use Docker Compose
docker compose up -d
Running Tests
# Run all tests
npm test# Run E2E tests specifically
npm run test:e2e
# Run unit tests specifically
npm run test:unit
Notes
All shell-based test scripts have been migrated to JavaScript E2E tests for better maintainability and consistency.
The project uses npm scripts for most common operations. See package.json for available scripts.
Docker Compose is the recommended way to run the service in production.