Skip to content

feat: unit tests for MCPClient, schema adapter, and work order schemas - #79

Merged
zestones merged 1 commit into
mainfrom
15-m28-script-de-test-isolation
Apr 22, 2026
Merged

feat: unit tests for MCPClient, schema adapter, and work order schemas#79
zestones merged 1 commit into
mainfrom
15-m28-script-de-test-isolation

Conversation

@zestones

Copy link
Copy Markdown
Owner
  • Introduced unit tests for the MCPClient singleton and its interaction with FastMCP.
  • Added tests for the MCP to Anthropic schema adapter to ensure correct transformation of tool descriptors.
  • Implemented smoke tests for ARIA MCP tool registration to verify the registration of KPI and signal tools.
  • Created unit tests for datetime helper functions to validate timezone-aware parsing.
  • Added threshold evaluation tests to ensure correct behavior of threshold breach logic.
  • Developed tests for merging structured data in the knowledge base module.
  • Implemented validation tests for the KbRepository to ensure upsert operations maintain data integrity.
  • Added contract tests for the EquipmentKB domain model to validate the expected JSON structure.
  • Created unit tests for WorkOrder schemas to validate new fields and status transitions.

- Introduced unit tests for the MCPClient singleton and its interaction with FastMCP.
- Added tests for the MCP to Anthropic schema adapter to ensure correct transformation of tool descriptors.
- Implemented smoke tests for ARIA MCP tool registration to verify the registration of KPI and signal tools.
- Created unit tests for datetime helper functions to validate timezone-aware parsing.
- Added threshold evaluation tests to ensure correct behavior of threshold breach logic.
- Developed tests for merging structured data in the knowledge base module.
- Implemented validation tests for the KbRepository to ensure upsert operations maintain data integrity.
- Added contract tests for the EquipmentKB domain model to validate the expected JSON structure.
- Created unit tests for WorkOrder schemas to validate new fields and status transitions.
@zestones zestones linked an issue Apr 22, 2026 that may be closed by this pull request
1 task
@zestones
zestones merged commit adad8f6 into main Apr 22, 2026
9 checks passed
@zestones
zestones deleted the 15-m28-script-de-test-isolation branch April 22, 2026 19:54
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.

M2.8 — Script de test isolation

1 participant