This document outlines the testing strategy and procedures for FoxCloud.
Located in src/test/, these tests verify individual components:
Tests that verify the interaction between components:
Tests that verify the deployment process:
npm run test
This runs the architecture tests which verify:
npm run dev
# Then manually test functionality
GitHub Actions workflows include:
Aim for the following coverage targets:
Use the following command to generate test UUIDs:
# Linux/macOS
cat /proc/sys/kernel/random/uuid
# Windows PowerShell
New-Guid
# Node.js
node -e "console.log(require('crypto').randomUUID())"
Use known working proxy servers for testing:
npm installwrangler.toml or using wrangler secret putnpm run devMaintain records of:
Report issues through:
Regularly review and update: