Test visibility and context enrichment features
- Last Updated: December 23, 2025
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
This topic provides guidance on unit and integration tests that validate enrichment logic, formatting, and configuration behavior.
Unit testing for enrichment logic
The following unit tests verify generation logic and formatting edge cases:
tests/unit/test_openapi_enrich.pytests/unit/test_openapi_per_tool_context.py
Integration testing for context management
The tests/integration/test_per_tool_context_integration.py integration
test validates end-to-end behavior for per-tool context enrichment. This test
covers:
- Priority sorting
- Truncation behavior
- Maximum file limits
- Disabled feature flags
- Ignoring unsupported per-operation formatting keys