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 <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
…ration tests only when explicitly specified. Signed-off-by: Teo <teocns@gmail.com>
86205ba to
6dbe54b
Compare
a606ea6 to
fb2be21
Compare
Signed-off-by: Teo <teocns@gmail.com>
|
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 <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
dc72575 to
0a8a5f7
Compare
Signed-off-by: Teo <teocns@gmail.com>
6b9e3f0 to
8f1a958
Compare
6a7ff37 to
29c29d4
Compare
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
…ing contingent error Signed-off-by: Teo <teocns@gmail.com>
29c29d4 to
98c325c
Compare
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
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.pyTest Fixtures
mock_reqfixtureCore 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