mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
Extending test coverage (#434)
* Contract tests * Testing embeedings * Agent unit tests * Knowledge pipeline tests * Turn on contract tests
This commit is contained in:
parent
2f7fddd206
commit
4daa54abaf
23 changed files with 6303 additions and 44 deletions
10
tests/unit/test_embeddings/__init__.py
Normal file
10
tests/unit/test_embeddings/__init__.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"""
|
||||
Unit tests for embeddings services
|
||||
|
||||
Testing Strategy:
|
||||
- Mock external embedding libraries (FastEmbed, Ollama client)
|
||||
- Test core business logic for text embedding generation
|
||||
- Test error handling and edge cases
|
||||
- Test vector dimension consistency
|
||||
- Test batch processing logic
|
||||
"""
|
||||
Loading…
Add table
Add a link
Reference in a new issue