testing-expert
CommunityAutomate E2E integration tests with TestContainers and fixtures.
Software Engineering#testing#test automation#e2e#integration test#sql#testcontainers#testfixtures#spring boot test
Authorryu-qqq
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill standardizes end-to-end (E2E) integration testing by leveraging TestRestTemplate for real HTTP requests, TestContainers for actual databases, and Gradle testFixtures for reusable test data. It eliminates flaky tests, ensures comprehensive coverage, and builds confidence in your deployments.
Core Features & Use Cases
- E2E Integration Testing: Configures
@SpringBootTest(webEnvironment = RANDOM_PORT)withTestRestTemplateto simulate real user interactions across all application layers. - Real Database Testing with TestContainers: Integrates
TestContainerswith MySQL to run tests against an actual database, ensuring environment parity and catching database-specific issues. - Reusable Test Data with Gradle testFixtures: Utilizes
Gradle testFixturesfor creating and sharing domain, application, and adapter-level test data, along with@Sqlfor efficient DML-only data insertion. - Zero-Tolerance Rules: Prohibits
MockMvc,@Sqlfor DDL,@WebMvcTestfor integration tests, and enforces@Transactionalfor robust test isolation. - Use Case: When developing a new feature, use this skill to generate robust integration tests that cover the entire application flow. This ensures high confidence in deployments and significantly reduces manual testing effort, allowing you to rest easy.
Quick Start
Generate an E2E integration test for an 'Order Creation' API, using TestRestTemplate, TestContainers, and SQL test data.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: testing-expert Download link: https://github.com/ryu-qqq/AuthHub/archive/main.zip#testing-expert Please download this .zip file, extract it, and install it in the .claude/skills/ directory.