# Check your test data was generated
ls -la test_data/
# Should show: agents/, workflows/, documents/, neural_fields/, etc.
# Quick data sample check
head -n 20 test_data/agents/comprehensive_agents.json# Start test database with your new seed data
cd /Users/gkavanagh/Development/Automatos-AI-Platform/automatos-testing
docker-compose up -d postgres-test redis-test
# Verify containers are running
docker ps | grep automotas-test# Load the comprehensive SQL seed data
docker exec -i automotas-test-postgres psql -U postgres -d automotas_test_db < test_data/comprehensive_seed_data.sql
# Verify data loaded
docker exec automotas-test-postgres psql -U postgres -d automotas_test_db -c "SELECT COUNT(*) FROM test_data.sample_agents;"
# Should show: 50- Open n8n interface (usually http://localhost:5678)
- Import/Open your
workflow_backend_first.json - Click "Execute Workflow" button
- Watch all 11 test modules run in parallel!
n8n execute --file n8n/workflow_backend_first.jsoncurl -X POST http://localhost:5678/webhook/your-webhook-id✅ Test: Agent Management APIs
✅ Test: Workflow Management APIs
✅ Test: Context Engineering APIs
✅ Test: Knowledge/Memory APIs
✅ Test: Multi-Agent System APIs
✅ Test: Security & Performance APIs
✅ Test: Analytics & Monitoring APIs
✅ Test: Context Policy APIs <- NEW!
✅ Test: Code Graph APIs <- NEW!
✅ Test: Playbooks APIs <- NEW!
✅ Test: Patterns APIs <- NEW!
{
"agents": {
"ok": true,
"summary": {
"total_tests": 35,
"passed": 33,
"failed": 2,
"success_rate": 94.3
}
},
"workflows": { ... },
"context": { ... },
"knowledge": { ... },
"playbooks": { ... },
"settings": { ... },
"analytics": { ... },
"context_policy": { ... }, // NEW!
"code_graph": { ... }, // NEW!
"playbooks_api": { ... }, // NEW!
"patterns": { ... } // NEW!
}- Look at the "Calculate: Success Rate & Failures" node output
- Target: 85%+ for production readiness
- With new test data: Expect 90-95%+
The 4 new test modules should show:
- context_policy: ~15 tests covering policy management
- code_graph: ~16 tests for code analysis
- playbooks_api: ~16 tests for playbook operations
- patterns: ~16 tests for pattern recognition
If success rate < 85%, workflow routes to:
- AI Bug Analysis
- Fix Generation
- Auto-deployment
- Validation loop
With comprehensive test data:
- Parallel execution time: ~2-5 minutes
- Memory usage: Monitor Redis/Postgres
- API response times: Should be < 500ms
# Check if API server is running
docker ps | grep automatos
# If not, start it:
cd ../automatos-ai
docker-compose up -d# Check PostgreSQL is accessible
docker exec automotas-test-postgres psql -U postgres -c "SELECT 1;"
# Check test data exists
docker exec automotas-test-postgres psql -U postgres -d automotas_test_db -c "SELECT COUNT(*) FROM test_data.sample_agents;"# Refresh n8n and reimport workflow
# The file should have 1661 lines now (was 1517)
wc -l n8n/workflow_backend_first.json# Run specific test module only
./scripts/run_module_tests.sh context_policy
# Check test results in Redis
docker exec automotas-test-redis redis-cli -a 'xplaincrypto-redis-35e759ed354c458f' get test_result:context_policy
# View real-time logs
docker logs -f automotas-test-postgres
docker logs -f automotas-test-redis
# Generate test report
python3 run_tests.py --generate-reportYour testing setup is now:
- 11 test modules (was 7)
- 250+ test cases total
- 720+ test data records
- Production-grade edge cases
- Multi-tenant ready
- Neural Field enabled
-
If All Green (>95%):
- Move to user journey tests
- Add integration tests
- Performance benchmarking
-
If Some Failures:
- Let AI auto-fix run
- Review generated fixes
- Re-run affected modules
-
If Major Issues:
- Check Discord alerts
- Review error logs
- Manual intervention
Run this for a complete system check:
# One command to rule them all
cd /Users/gkavanagh/Development/Automatos-AI-Platform/automatos-testing && \
docker-compose up -d && \
sleep 5 && \
docker exec -i automotas-test-postgres psql -U postgres -d automotas_test_db < test_data/comprehensive_seed_data.sql && \
echo "✅ Ready to run n8n workflow!"Your platform is now ready for SERIOUS testing! 🎉