什麼是 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