- Home
- /
- Categories
- /
- Testing
Testing
Unit tests, integration tests, test automation
unit-test-exception-handler
by 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
by 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-boundary-conditions
by 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.
unit-test-mapper-converter
by 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
by 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
by 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
by 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
by 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-test-caching
by 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
by giuseppe-trisciuoglio
Provides patterns for unit testing @ConfigurationProperties classes with @ConfigurationPropertiesTest. Use when validating application configuration binding and validation.
unit-test-scheduled-async
by 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
by 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.
subagent-testing
by athola
TDD-style testing methodology for skills using fresh subagent instances
unit-testing
by Leavesfly
Java单元测试编写指南(基于JUnit和Mockito)
script-test
by Leavesfly
测试脚本执行功能的示例 Skill
webapp-testing
by bobmatnyc
Automated webapp testing with Playwright. Server management, UI testing, visual debugging, and reconnaissance-first approach.
test-driven-development
by bobmatnyc
Write the test first, watch it fail, write minimal code to pass
playwright-browser
by TechNickAI
"Use when automating browsers, testing pages, taking screenshots, checking UI, verifying login flows, or testing responsive behavior"
run-tests
by 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
by Terryc21
'UI test environment setup and accessibility scan with recommendations for splash/onboarding bypass. Triggers: "ui scan", "accessibility scan", "ui test setup".'
generate-tests
by Terryc21
'Generate unit and UI tests for specified code with edge cases and mocks. Triggers: "generate tests", "write tests", "add tests", "test coverage".'
elite-tester
by truongnat
World-class testing standards focused on the Testing Pyramid, TDD, E2E excellence, and robust test data management. Use when writing unit tests, integration tests, or complex E2E automation for any platform.
playwright-browser
by arlenagreer
Browser automation and E2E testing via local Playwright Docker container
behavior-driven-testing
by agent-next
Systematic testing methodology for exhaustive branch coverage, edge case identification, and production bug prevention. Use when PR review reveals incomplete test coverage, when tests pass but users report bugs, when code changes break existing features, when verifying all branches and edge cases before merge, when analyzing "it works on my machine" issues, when planning test strategy for new features, or when debugging flaky tests and race conditions.