Why test your integration?
Without proper testing, you might:- ❌ Call LLM directly (bypassing verification)
- ❌ Miss security vulnerabilities
- ❌ Get incorrect verification results
- ❌ Have silent failures in production
Quick validation checklist
Run this checklist to verify your integration:Detailed test suite
1. Test API authentication
What to test: Verify API key is valid and working.AuthenticationError.
2. Test math verification
What to test: Math engine returns correct results.3. Test code security
What to test: Security vulnerabilities are detected.4. Test SQL injection detection
What to test: SQL injection attempts are caught.5. Test error handling
What to test: QWED handles errors gracefully.Integration validation script
Save this astest_qwed_integration.py and run it:
Debugging failed tests
Problem: authentication fails
Symptoms:- Check API key is correct
- Verify API key is active (not revoked)
- Check for extra spaces in key
- Regenerate API key if needed
Problem: math verification returns wrong results
Symptoms:- Check verbose mode to see internal flow:
- Check trace to debug:
- Verify expression format is correct
Problem: security detection misses vulnerabilities
Symptoms:- Check language parameter is correct
- Verify code string is properly formatted
- Enable strict mode:
Performance testing
Test response times
Test batch processing
Continuous integration (CI) testing
GitHub Actions example
Next steps
Once all tests pass: ✅ Production deployment - Deploy with confidence✅ Monitoring - Track QWED in production
✅ Troubleshooting - Debug common issues
Need help?
Can’t get tests to pass? We’re here to help:- 💬 Community Support
- 📧 Enterprise Support: support@qwedai.com
- 📖 FAQ