Skip to content

Feature/adding-byokg-unit-testing#137

Merged
iansrobinson merged 3 commits intoawslabs:mainfrom
fbmz-improving:feature/adding-byokg-unit-testing
Mar 9, 2026
Merged

Feature/adding-byokg-unit-testing#137
iansrobinson merged 3 commits intoawslabs:mainfrom
fbmz-improving:feature/adding-byokg-unit-testing

Conversation

@fbmz-improving
Copy link
Contributor

Add comprehensive unit test suite with 309 tests covering all core modules. Tests use mocked AWS services for fast, isolated execution.

  • Add test directory structure mirroring source code
  • Add shared fixtures in conftest.py (mock Bedrock, Neptune, graph data)
  • Add pytest configuration with coverage reporting
  • Add CI/CD workflow for Python 3.10, 3.11, 3.12
  • Add test documentation in byokg-rag/tests/README.md

Coverage: 94% overall (16 modules at 87-100%)

Note: Two FAISS tests deselected due to platform-specific segfaults

resolves #134

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@fbmz-improving fbmz-improving force-pushed the feature/adding-byokg-unit-testing branch from eaed55d to c694f9d Compare March 5, 2026 20:50
Copy link

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Nice testing additions.

@fbmz-improving fbmz-improving force-pushed the feature/adding-byokg-unit-testing branch from fbb8ed9 to 455deac Compare March 6, 2026 00:41
feat(byokg-rag): add comprehensive unit testing infrastructure with 94% coverage

- Add pytest configuration and test infrastructure
- Implement unit tests for all major components (graph connectors, retrievers, graphstore, indexing, LLM)
- Add GitHub Actions workflow for automated testing
- Update documentation with testing guidelines and coverage information

updated design.md and removed .config.kiro
@fbmz-improving fbmz-improving force-pushed the feature/adding-byokg-unit-testing branch from b9fbcaf to 1fb27b4 Compare March 6, 2026 01:03
@iansrobinson iansrobinson merged commit 84113c7 into awslabs:main Mar 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TEST][BYOKG] add comprehensive unit tests for byokg-rag

4 participants