·java-testing
</>

java-testing

bitsoex/bitso-java

使用 Spock Framework 和 Groovy 的 Java 测试指南。涵盖测试结构、mock 模式、使用 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 测试指南。涵盖测试结构、mock 模式、使用 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 测试指南。涵盖测试结构、mock 模式、使用 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