TEST-INFRA: [missing-test-levels] Massive number of modules are missing all test levels #3398

Open
opened 2026-04-05 16:25:52 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: test/missing-test-levels
  • Commit Message: test: add missing test levels for all modules
  • Milestone: (none — backlog)
  • Parent Epic: (see orphan note below)

Context

A massive number of modules are missing all three test levels (Behave, Robot, ASV). This is a critical issue that needs to be addressed to ensure the quality and reliability of the codebase.

Modules with Missing Tests

  • cleveragents.a2a.models
  • cleveragents.a2a.facade
  • cleveragents.tui.shell_safety.warning
  • cleveragents.tui.shell_safety.safety_service
  • cleveragents.tui.shell_safety.pattern_registry
  • cleveragents.tui.shell_safety.pattern_detector
  • cleveragents.tui.widgets.thought_block
  • cleveragents.tui.widgets.permission_question
  • cleveragents.tui.widgets.__init__
  • cleveragents.tui.commands
  • cleveragents.tui.shell_safety.dangerous_pattern
  • cleveragents.tui.shell_safety.danger_level
  • ... and many more.

Subtasks

  • Create a plan to add test coverage for all modules.
  • Prioritize the modules that need test coverage the most.
  • Add Behave, Robot, and ASV tests for all modules.

Definition of Done

  • All listed modules have Behave, Robot, and ASV test coverage.
  • A prioritised plan for test coverage has been documented and followed.
  • All nox stages pass.
  • Coverage >= 97%

Backlog note: This issue was discovered during autonomous operation
on milestone active. It does not block milestone completion and has been
placed in the backlog for human review and future milestone assignment.


Automated by CleverAgents Bot
Supervisor: Test Infrastructure | Agent: ca-new-issue-creator

## Metadata - **Branch**: `test/missing-test-levels` - **Commit Message**: `test: add missing test levels for all modules` - **Milestone**: *(none — backlog)* - **Parent Epic**: *(see orphan note below)* ## Context A massive number of modules are missing all three test levels (Behave, Robot, ASV). This is a critical issue that needs to be addressed to ensure the quality and reliability of the codebase. ### Modules with Missing Tests - `cleveragents.a2a.models` - `cleveragents.a2a.facade` - `cleveragents.tui.shell_safety.warning` - `cleveragents.tui.shell_safety.safety_service` - `cleveragents.tui.shell_safety.pattern_registry` - `cleveragents.tui.shell_safety.pattern_detector` - `cleveragents.tui.widgets.thought_block` - `cleveragents.tui.widgets.permission_question` - `cleveragents.tui.widgets.__init__` - `cleveragents.tui.commands` - `cleveragents.tui.shell_safety.dangerous_pattern` - `cleveragents.tui.shell_safety.danger_level` - ... and many more. ## Subtasks - [ ] Create a plan to add test coverage for all modules. - [ ] Prioritize the modules that need test coverage the most. - [ ] Add Behave, Robot, and ASV tests for all modules. ## Definition of Done - [ ] All listed modules have Behave, Robot, and ASV test coverage. - [ ] A prioritised plan for test coverage has been documented and followed. - [ ] All nox stages pass. - [ ] Coverage >= 97% > **Backlog note:** This issue was discovered during autonomous operation > on milestone *active*. It does not block milestone completion and has been > placed in the backlog for human review and future milestone assignment. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-new-issue-creator
Author
Owner

⚠️ Orphan Issue — Manual Linking Required

This issue was created without a known parent Epic. Per CONTRIBUTING.md, all issues must be linked to a parent Epic using Forgejo's dependency system (child blocks parent).

A project maintainer should:

  1. Identify or create the appropriate parent Epic for test infrastructure coverage work.
  2. Open this issue and add the parent Epic under the "blocks" section so that the Epic cannot be closed until this issue is resolved.

Automated by CleverAgents Bot
Supervisor: Test Infrastructure | Agent: ca-new-issue-creator

⚠️ **Orphan Issue — Manual Linking Required** This issue was created without a known parent Epic. Per CONTRIBUTING.md, all issues must be linked to a parent Epic using Forgejo's dependency system (child **blocks** parent). A project maintainer should: 1. Identify or create the appropriate parent Epic for test infrastructure coverage work. 2. Open **this issue** and add the parent Epic under the "blocks" section so that the Epic cannot be closed until this issue is resolved. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-new-issue-creator
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.

Reference
cleveragents/cleveragents-core#3398
No description provided.