·java-testing
</>

java-testing

bitsoex/bitso-java

使用 Spock Framework 和 Groovy 的 Java 測試指南。涵蓋測試結構、模擬模式、使用 Testcontainers 進行持久性測試、gRPC 測試和 Spring Boot 測試配置。在編寫或審查測試時使用。

7安裝·0熱度·@bitsoex

安裝

$npx skills add https://github.com/bitsoex/bitso-java --skill java-testing

SKILL.md

Guidelines for writing tests in Java projects using the Spock Framework and Groovy.

| Spock Mock | Unit tests without Spring context | | @SpringBean | Spring integration tests with mocks | | @ServiceConnection | Testcontainers database connection | | InProcessServer | gRPC client/server testing | | Data Tables | Multiple test cases with same structure |

| references/spock-patterns.md | Advanced Spock patterns | | references/testcontainers-setup.md | Testcontainers configuration | | references/grpc-testing.md | gRPC test patterns |

使用 Spock Framework 和 Groovy 的 Java 測試指南。涵蓋測試結構、模擬模式、使用 Testcontainers 進行持久性測試、gRPC 測試和 Spring Boot 測試配置。在編寫或審查測試時使用。 來源:bitsoex/bitso-java。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/bitsoex/bitso-java --skill java-testing
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 java-testing?

使用 Spock Framework 和 Groovy 的 Java 測試指南。涵蓋測試結構、模擬模式、使用 Testcontainers 進行持久性測試、gRPC 測試和 Spring Boot 測試配置。在編寫或審查測試時使用。 來源:bitsoex/bitso-java。

如何安裝 java-testing?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/bitsoex/bitso-java --skill java-testing 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/bitsoex/bitso-java