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 install
wrangler.toml
or using wrangler secret put
npm run dev
Maintain records of:
Report issues through:
Regularly review and update: