-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test suite v0.4 #637
Test suite v0.4 #637
Conversation
a086fa0
to
9044b65
Compare
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
Some funny behavior with what I believe is the async loop lifecycle management. Tests time out, or maybe there is one particular test making the testing suite time out. Running each individually work, so far. Tried different combos of async event loop configuration without luck |
I found out the issue is hit only when vcr is initialized (i.e imported) Tests keep going until a vcr replay kicks in I think this has to do with Async httpx |
4e51bb1
to
0650e92
Compare
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
…ration tests only when explicitly specified. Signed-off-by: Teo <[email protected]>
86205ba
to
6dbe54b
Compare
a606ea6
to
fb2be21
Compare
Signed-off-by: Teo <[email protected]>
So far we have the integration tests for all providers except Llama Stack and the partners (crewAI, Autogen, TaskWeaver, LangChain). I have Llama Stack configured with Fireworks to make it work on my local machine but that's unreliable. I need to make it work to get the cassette recordings. Partner integration tests I am working on the comprehensive suite as mentioned above. |
…s found all provider fixtures will: Use the actual API key if it's set in the environment Fall back to "test-api-key" if no environment variable is found Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
dc72575
to
0a8a5f7
Compare
Signed-off-by: Teo <[email protected]>
6b9e3f0
to
8f1a958
Compare
6a7ff37
to
29c29d4
Compare
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
…ing contingent error Signed-off-by: Teo <[email protected]>
29c29d4
to
98c325c
Compare
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Overview
This PR reorganizes the test infrastructure by implementing a comprehensive testing strategy that separates unit and integration tests, with a focus on provider integrations and API functionality testing.
Infrastructure Changes
unit/
andintegration/
directoriesconftest.py
Test Fixtures
mock_req
fixtureCore Functionality Tests
Provider Integration Tests
OpenAI
Mistral
Cohere
AI21
Groq
LlamaStack
CrewAI Integration Tests
API Server Tests
Documentation
Integration
CrewAI Integration Tests
Basic Integration Tests
Session Management Tests
Event Recording Tests
Multi-Agent Tests
Tool Usage Tests
Example Workflow Tests
Error Handling Tests
Integration with Other Tools
Special Features Tests
Known Issues & Mitigations