Add integration testing guide and prompts
- docs/workflow/INTEGRATION-TESTING.md - Full guide on integration testing - What it is vs unit/e2e tests - 5 principles to test per integration point - Folder structure suggestions - Self-improving loop for human findings - integration-tests/ - Template for project's integration tests - README.md - What to test (Feynman fills per project) - package.json - Test runner setup - scripts/setup.sh - Service startup - scripts/teardown.sh - Cleanup - docs/workflow/WORKFLOW.md - Added integration testing references - docs/workflow/AGENT-PROMPTS.md - Added integration testing prompts - docs/workflow/INDEX.md - Updated file structure
This commit is contained in:
26
integration-tests/scripts/setup.sh
Normal file
26
integration-tests/scripts/setup.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Setup script for integration tests
|
||||
# Run this before tests to start required services
|
||||
#
|
||||
# Edit this file to match your project's needs.
|
||||
#
|
||||
|
||||
echo "=========================================="
|
||||
echo "Integration Tests Setup"
|
||||
echo "=========================================="
|
||||
echo ""
|
||||
|
||||
# TODO: Add commands to start services
|
||||
# Example:
|
||||
# echo "Starting backend server..."
|
||||
# cd ../backend && pnpm start &
|
||||
# sleep 5
|
||||
#
|
||||
# echo "Starting database..."
|
||||
# docker compose up -d db
|
||||
|
||||
echo "Setup complete. Services should be running."
|
||||
echo ""
|
||||
echo "Run tests with: pnpm test"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user