backend-unit-test

Installation
SKILL.md

后端单元测试技能

执行流程(两步)

# 步骤1: 编译测试类
cd sfm_back && mvn compiler:testCompile -pl <module> -am

# 步骤2: 运行测试
cd sfm_back && mvn surefire:test -pl <module> -am -Dtest="测试类名"

参数说明

参数 作用
-pl <module> 指定模块,如 med-amsmed-bpm-biz
-am 连带构建依赖模块(reactor 模式),不经过 install
-Dtest="xxx" 指定测试类,支持通配符 *
Related skills

More from dwsy/agent

Installs
2
Repository
dwsy/agent
GitHub Stars
12
First Seen
Mar 23, 2026