什么是 unit-test-parameterized?
使用@ParameterizedTest、@ValueSource、@CsvSource 提供参数化测试模式。允许使用多个输入组合运行单个测试方法。在测试具有相似逻辑的多个场景时使用。 来源:giuseppe-trisciuoglio/developer-kit。
使用@ParameterizedTest、@ValueSource、@CsvSource 提供参数化测试模式。允许使用多个输入组合运行单个测试方法。在测试具有相似逻辑的多个场景时使用。
通过命令行快速安装 unit-test-parameterized AI 技能到你的开发环境
来源:giuseppe-trisciuoglio/developer-kit。
This skill provides patterns for writing efficient parameterized unit tests using JUnit 5's @ParameterizedTest. It covers @ValueSource, @CsvSource, @MethodSource, @EnumSource, @ArgumentsSource, and custom display names to run the same test logic with multiple input values, reducing test duplication and improving coverage.
Parameter not matching: Verify number and type of parameters match test method signature.
Display name not showing: Check parameter syntax in name = "...".
使用@ParameterizedTest、@ValueSource、@CsvSource 提供参数化测试模式。允许使用多个输入组合运行单个测试方法。在测试具有相似逻辑的多个场景时使用。 来源:giuseppe-trisciuoglio/developer-kit。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-parameterized使用@ParameterizedTest、@ValueSource、@CsvSource 提供参数化测试模式。允许使用多个输入组合运行单个测试方法。在测试具有相似逻辑的多个场景时使用。 来源:giuseppe-trisciuoglio/developer-kit。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-parameterized 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/giuseppe-trisciuoglio/developer-kit