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