yusyus
4175a3a050
test: Add comprehensive E2E tests for all 7 RAG adaptors
Added TestRAGAdaptorsE2E class with 6 comprehensive end-to-end tests covering:
1. test_e2e_all_rag_adaptors_from_same_skill
- Verifies all 7 RAG adaptors (LangChain, LlamaIndex, Haystack, Weaviate,
Chroma, FAISS, Qdrant) can package the same skill
- Validates JSON output format
- Ensures consistent behavior across platforms
2. test_e2e_rag_adaptors_preserve_metadata
- Tests metadata preservation (source, version, author, tags)
- Validates different platform structures (LangChain list, Weaviate schema,
Chroma dict)
- Ensures metadata flows through packaging pipeline
3. test_e2e_rag_json_structure_validation
- Validates JSON structure for each of 7 RAG adaptors
- Ensures required fields present (documents, metadata, IDs, etc.)
- Platform-specific structure validation
4. test_e2e_rag_empty_skill_handling
- Tests graceful handling of empty skill directories
- Verifies empty but valid structures returned
- Prevents crashes on edge cases
5. test_e2e_rag_category_detection
- Verifies category inference from file names
- Tests overview + reference categorization
- Validates across LangChain, Weaviate, and Chroma
6. test_e2e_rag_integration_workflow_chromadb
- Complete workflow test: package → ChromaDB → query → verify
- Tests in-memory ChromaDB integration
- Validates semantic search functionality
- Skipped if chromadb not installed
Results:
- 6 new E2E tests added
- 23 total E2E tests passing
- 1 test skipped (chromadb integration, optional dependency)
- All existing tests still passing (no regressions)
- Test coverage for all RAG adaptors now comprehensive
Phase 3 of optional enhancements complete.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-07 22:41:15 +03:00
..
2025-10-29 23:19:32 +03:00
2026-02-07 22:41:15 +03:00
2025-10-19 02:08:58 +03:00
2026-01-17 23:02:11 +03:00
2025-10-19 17:01:37 +03:00
2026-02-03 21:37:54 +03:00
2026-01-31 21:30:00 +03:00
2026-01-17 17:48:15 +00:00
2026-01-18 00:01:30 +03:00
2026-01-18 00:01:30 +03:00
2026-02-07 20:59:03 +03:00
2026-01-17 23:02:11 +03:00
2026-01-29 22:56:33 +03:00
2026-01-17 23:25:12 +03:00
2026-02-03 21:00:34 +03:00
2026-02-07 20:59:03 +03:00
2026-01-17 17:29:21 +00:00
2026-02-05 21:27:41 +03:00
2026-01-17 23:02:11 +03:00
2026-01-31 21:30:00 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 17:48:15 +00:00
2026-01-17 22:54:40 +03:00
2026-01-17 23:02:11 +03:00
2026-02-07 13:48:05 +03:00
2026-02-07 20:59:03 +03:00
2026-02-04 10:14:20 +01:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-02-05 22:02:06 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-01-18 00:01:30 +03:00
2026-01-18 00:01:30 +03:00
2026-01-31 21:30:00 +03:00
2026-02-07 13:42:14 +03:00
2026-01-18 00:01:30 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-01-17 17:48:15 +00:00
2026-01-31 14:58:09 +03:00
2026-01-18 12:11:01 +03:00
2026-02-04 21:20:23 +03:00
2026-01-17 17:29:21 +00:00
2026-01-17 23:02:11 +03:00
2026-01-18 00:01:30 +03:00
2026-01-17 17:29:21 +00:00
2026-01-17 23:33:34 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-02-07 20:59:03 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 17:48:15 +00:00
2026-02-07 13:45:01 +03:00
2026-01-17 17:48:15 +00:00
2026-02-03 21:00:34 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 17:48:15 +00:00
2026-01-17 22:54:40 +03:00
2026-02-04 21:00:49 +03:00
2026-01-27 21:11:04 +03:00
2026-01-17 17:29:21 +00:00
2026-01-17 17:48:15 +00:00
2026-02-07 13:54:44 +03:00
2026-02-07 20:53:44 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:25:12 +03:00
2026-01-18 13:48:37 +03:00
2026-01-18 00:01:30 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-02-07 13:39:43 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-02-02 23:08:25 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 22:54:40 +03:00
2026-01-17 23:25:12 +03:00
2026-01-17 17:48:15 +00:00
2026-02-04 21:16:13 +03:00
2026-01-17 17:29:21 +00:00