test(tool): add robot tool model smoke tests #278

Closed
opened 2026-02-22 23:40:50 +00:00 by freemo · 0 comments
Owner

Metadata

  • Commit: test(tool): add robot tool model smoke tests
  • Branch: feature/m3-tool-domain-robot

Subtasks

  • Add robot/tool_model.robot smoke tests for Tool/Validation model creation and YAML loader outputs.
  • Update docs/reference/tool_model.md to mention the Robot smoke suite and how to run it.
  • Tests (Behave): Add a scenario in features/tool_model.feature that mirrors the Robot smoke expectations for YAML loader outputs.
  • Tests (Robot): Add Robot suite that validates tool model creation and validation constraints.
  • Tests (ASV): Confirm benchmarks/tool_model_bench.py still passes after the new Robot suite is added.
  • Run nox (all default sessions, including benchmark), fix any errors if needed ensuring nox passes.
  • Verify coverage >=97% via nox -s coverage_report. If coverage is <97% then review the current unit test coverage report at build/coverage.xml and use it to write new Behave based unit tests to improve code coverage. Specifically, write Behave style unit tests that are descriptively named and specifically improves coverage on whichever file has the most uncovered lines by writing tests that will target the uncovered lines in the report. Once that is done rerun nox -s coverage_report to verify all tests pass and coverage is above >=97%. Only mark this as complete once coverage is >=97%, if not repeat this task as many times as is needed until coverage reaches >=97%.

Section: ### Section 5: Actors, Skills & Tool Execution [WORKSTREAM C - Aditya Lead]
Status: Completed

## Metadata - **Commit**: `test(tool): add robot tool model smoke tests` - **Branch**: `feature/m3-tool-domain-robot` ## Subtasks - [x] Add `robot/tool_model.robot` smoke tests for Tool/Validation model creation and YAML loader outputs. - [x] Update `docs/reference/tool_model.md` to mention the Robot smoke suite and how to run it. - [x] Tests (Behave): Add a scenario in `features/tool_model.feature` that mirrors the Robot smoke expectations for YAML loader outputs. - [x] Tests (Robot): Add Robot suite that validates tool model creation and validation constraints. - [x] Tests (ASV): Confirm `benchmarks/tool_model_bench.py` still passes after the new Robot suite is added. - [x] Run `nox` (all default sessions, including benchmark), fix any errors if needed ensuring nox passes. - [x] Verify coverage >=97% via `nox -s coverage_report`. If coverage is <97% then review the current unit test coverage report at `build/coverage.xml` and use it to write new Behave based unit tests to improve code coverage. Specifically, write Behave style unit tests that are descriptively named and specifically improves coverage on whichever file has the most uncovered lines by writing tests that will target the uncovered lines in the report. Once that is done rerun `nox -s coverage_report` to verify all tests pass and coverage is above >=97%. Only mark this as complete once coverage is >=97%, if not repeat this task as many times as is needed until coverage reaches >=97%. **Section**: ### Section 5: Actors, Skills & Tool Execution [WORKSTREAM C - Aditya Lead] **Status**: Completed
freemo added this to the v3.1.0 milestone 2026-02-22 23:40:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#354 Epic: Actor & Skill Schema + CLI (C0)
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core#278
No description provided.