-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
Description
π€ Test Improver here - I'm an automated AI assistant focused on improving tests for this repository.
Activity for March 2026
Suggested Actions for Maintainer
- Review PR [Test Improver] test: add unit tests for AgentsCompiler (65%β82% coverage)Β #221: test: add unit tests for AgentsCompiler (65%β82%) - Review
- Review PR [Test Improver] fix(tests): strip ANSI codes before plain-text assertions in 3 test filesΒ #291: fix(tests): strip ANSI codes before plain-text assertions - Review
- Review PR [Test Improver] tests: improve coverage for security scanner and audit commandΒ #317: tests: improve coverage for security scanner and audit command - Review
- Review PR [Test Improver] Add unit tests for commands/_helpers.py I/O and config helpersΒ #333: Add unit tests for commands/_helpers.py - Review
- Review PR [Test Improver] test: add unit tests for utils/console.py (58% β 90%)Β #351: test: add unit tests for utils/console.py (58%β90%) - Review
- Review PR [Test Improver] test: add unit tests for config command (22% β 100%) + fix missing functionsΒ #366: test: add unit tests for config command (22%β100%) + fix missing ImportError - Review
- Review PR [Test Improver] test: add unit tests for RuntimeManager and runtime CLI commands (20%β92%, 49%β90%)Β #380: test: add unit tests for RuntimeManager and runtime CLI (20%β92%, 49%β90%) - Review
- Review PR (teardown fix, 2026-03-21): [Test Improver] replace gc.collect+sleep teardown with
shutil.rmtree(ignore_errors=True)β closes [FEATURE] Clean up tearDown patterns in unit tests (gc.collect + sleep)Β #185. Branch:test-assist/fix-teardown-gc-sleep-23368659522
Maintainer Priorities
No specific priorities communicated yet.
Testing Opportunities Backlog
compilation/agents_compiler.py(82%) β remaining 18% requires distributed compiler stack (display paths); medium priorityregistry/operations.py(14%) β heavy network dependency, needs mocking strategy; low priority- Teardown cleanup β β done in PR (2026-03-21), closes [FEATURE] Clean up tearDown patterns in unit tests (gc.collect + sleep)Β #185
Discovered Commands
# Install dev dependencies
pip install uv --break-system-packages && python3 -m uv sync --extra dev
# Run tests
python3 -m uv run pytest tests/unit/ --no-header -q
# Run with coverage
python3 -m uv run pytest tests/unit/ --no-header -q --cov=apm_cli --cov-report=term-missing
# Format code
python3 -m uv run black . && python3 -m uv run isort .Note: uv is not on PATH in CI; must use python3 -m uv after installing with pip.
Run History
2026-03-21 01:06 UTC - Run
- π Task 4: All 7 open Test Improver PRs have passing CI
- π§ Created PR:
[Test Improver] test: replace gc.collect+sleep teardown with shutil.rmtree(ignore_errors=True)β closes [FEATURE] Clean up tearDown patterns in unit tests (gc.collect + sleep)Β #185 - π 5 test files cleaned up; 2261 tests passing (no change in count)
2026-03-20 01:07 UTC - Run
- π§ Created PR [Test Improver] test: add unit tests for RuntimeManager and runtime CLI commands (20%β92%, 49%β90%)Β #380:
[Test Improver] test: add unit tests for RuntimeManager and runtime CLI commands - π Coverage:
commands/runtime.py20%β92%,runtime/manager.py49%β90% - π 53 new tests, full suite: 2157 passing
2026-03-19 01:09 UTC - Run
- π§ Created PR [Test Improver] test: add unit tests for config command (22% β 100%) + fix missing functionsΒ #366:
test: add unit tests for config command (22%β100%) + fix missing functions - π Found and fixed ImportError bug:
set_auto_integrate/get_auto_integratemissing fromapm_cli/config.py - π Coverage:
commands/config.py22%β100%, full suite: 2123 passing - π Task 4: Verified all 5 open TI PRs have passing CI
2026-03-18 01:07 UTC - Run
- π§ Created PR [Test Improver] test: add unit tests for utils/console.py (58% β 90%)Β #351:
[Test Improver] test: add unit tests for utils/console.py (58%β90%) - π +33 tests, console.py: 58%β90%
Generated by Daily Test Improver Β· β·
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/daily-test-improver.md@b87234850bf9664d198f28a02df0f937d0447295
Reactions are currently unavailable