← 返回
效率工具 中文

Java changing with tests

Guide Java changes with minimal edits, verify using unit/integration tests as needed, and provide a PR-ready summary including plans, changes, test results,...
通过少量编辑指导Java更改,必要时使用单元/集成测试进行验证,并提供包含计划、变更、测试结果等的PR就绪摘要
tanerilyazov
效率工具 clawhub v1.0.0 1 版本 99771.3 Key: 无需
★ 1
Stars
📥 2,598
下载
💾 160
安装
1
版本
#latest

概述

java-change-with-tests

When to use

  • Any Java change that must be merged safely (feature/refactor/bugfix).

Inputs to request (if missing)

  • Acceptance criteria (1-3 bullets).
  • Module name (if multi-module repo).
  • Build tool and test conventions.
  • Whether integration tests are required for the change.

Steps

  1. Repo map (brief): identify the module, entrypoint, and test location.
  2. Plan: smallest diff that meets acceptance criteria.
  3. Implement: minimal edits.
  4. Tests:
    • prefer fast unit tests first
    • add integration tests only when required to validate behavior
  5. Verify:
    • run targeted tests
    • run mvn -q test (or module-scoped equivalent)
  6. Output PR-ready summary with evidence.

Verification commands (project-specific)

  • Use the repo's build tool and record the exact commands and results.
  • Prefer targeted unit tests before full test suites.

Output contract

1) Plan (3-6 steps)

2) Files changed + intent

3) Commands run + results

4) Risks + follow-ups

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 13:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,223
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 430 📥 103,746
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,797