- 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
27 lines
592 B
Bash
27 lines
592 B
Bash
#!/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 ""
|