测试
单元测试、集成测试与测试自动化
用途与选择建议
这类技能帮助你把可复现的问题或变更需求转化为可审查的代码修改。选择时核对语言、框架和测试工具是否匹配项目;采用修改前,检查差异并运行项目自身的验证。
unit-test-boundary-conditions
giuseppe-trisciuoglio
Edge case and boundary testing patterns for unit tests. Testing minimum/maximum values, null cases, empty collections, and numeric precision. Pure JUnit 5 unit tests. Use when ensuring code handles limits and special cases correctly.
expect
yonatangross
"Diff-aware AI browser testing — reads the git diff, maps changes to affected pages via the route map, generates a targeted test plan, and executes it via agent-browser (Rust daemon + CDP, ARIA-tree-first) with pass/fail reporting. Use when testing UI changes, verifying PRs before merge, or running regression checks on changed components."
emulate-seed
yonatangross
"Generate emulate seed configs for stateful API emulation. Wraps Vercel's emulate tool for GitHub, Vercel, Google OAuth, Slack, Apple Auth, Microsoft Entra, AWS, Okta, Clerk, Resend, Stripe, and MongoDB Atlas APIs — full state machines, not mocks. Use when setting up test environments, CI pipelines, integration tests, or offline development."
subagent-testing
athola
TDD-style testing methodology for skills using fresh subagent instances
unit-test-caching
giuseppe-trisciuoglio
Provides patterns for unit testing caching behavior using Spring Cache annotations (@Cacheable, @CachePut, @CacheEvict). Use when validating cache configuration and cache hit/miss scenarios.
unit-test-config-properties
giuseppe-trisciuoglio
Provides patterns for unit testing @ConfigurationProperties classes with @ConfigurationPropertiesTest. Use when validating application configuration binding and validation.
unit-test-scheduled-async
giuseppe-trisciuoglio
Provides patterns for unit testing scheduled and async tasks using @Scheduled and @Async. Handles mocking task execution and timing. Use when validating asynchronous operations and scheduling behavior.
unit-test-parameterized
giuseppe-trisciuoglio
Provides parameterized testing patterns with @ParameterizedTest, @ValueSource, @CsvSource. Enables running a single test method with multiple input combinations. Use when testing multiple scenarios with similar logic.
unit-test-exception-handler
giuseppe-trisciuoglio
Provides patterns for unit testing @ExceptionHandler and @ControllerAdvice for global exception handling. Use when validating error response formatting and HTTP status codes.
unit-test-json-serialization
giuseppe-trisciuoglio
Provides patterns for unit testing JSON serialization/deserialization with Jackson and @JsonTest. Use when validating JSON mapping, custom serializers, and date format handling.
unit-test-mapper-converter
giuseppe-trisciuoglio
Provides patterns for unit testing mappers and converters (MapStruct, custom mappers). Validates object transformation logic in isolation. Use when ensuring correct data transformation between DTOs and domain objects.
spring-boot-test-patterns
giuseppe-trisciuoglio
Provides comprehensive testing patterns for Spring Boot applications including unit, integration, slice, and container-based testing with JUnit 5, Mockito, Testcontainers, and performance optimization. Use when implementing robust test suites for Spring Boot applications.
unit-test-application-events
giuseppe-trisciuoglio
Provides patterns for testing Spring application events (ApplicationEvent) with @EventListener and ApplicationEventPublisher. Handles event publishing, listening, and async event handling in Spring Boot applications. Use when validating event-driven workflows in your Spring Boot services.
unit-test-controller-layer
giuseppe-trisciuoglio
Provides patterns for unit testing REST controllers using MockMvc and @WebMvcTest. Validates request/response mapping, validation, and exception handling. Use when testing web layer endpoints in isolation.
unit-test-bean-validation
giuseppe-trisciuoglio
Provides patterns for unit testing Jakarta Bean Validation (@Valid, @NotNull, @Min, @Max, etc.) with custom validators and constraint violations. Validates logic without Spring context. Use when ensuring data integrity and validation rules are correct.
unit-testing
Leavesfly
Java单元测试编写指南(基于JUnit和Mockito)
script-test
Leavesfly
测试脚本执行功能的示例 Skill
test-driven-development
bobmatnyc
Write the test first, watch it fail, write minimal code to pass
webapp-testing
bobmatnyc
Automated webapp testing with Playwright. Server management, UI testing, visual debugging, and reconnaissance-first approach.
run-tests
Terryc21
'Run tests with smart execution strategies - parallel, sequential, or split (UI sequential + unit parallel). Triggers: "run tests", "run my tests", "execute tests".'
ui-scan
Terryc21
'UI test environment setup and accessibility scan with recommendations for splash/onboarding bypass. Triggers: "ui scan", "accessibility scan", "ui test setup".'
generate-tests
Terryc21
'Generate unit and UI tests for specified code with edge cases and mocks. Triggers: "generate tests", "write tests", "add tests", "test coverage".'
playwright-browser
TechNickAI
"Use when automating browsers, testing pages, taking screenshots, checking UI, verifying login flows, or testing responsive behavior"
condition-based-waiting
OmniNode-ai
Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state changes, eliminating flaky tests from timing guesses