Before applying any integration test changes, ensure the project compiles. If compilation fails, stop immediately. After applying improvements, run full verification.
MANDATORY: Run
./mvnw compile
or
mvn compile
before applying any change
SAFETY: If compilation fails, stop immediately
VERIFY: Run
./mvnw clean verify
or
mvn clean verify
after applying improvements
BEFORE APPLYING: Read the reference for detailed rules and good/bad patterns
在应用任何集成测试变更前,确保项目可编译。若编译失败,立即停止操作。在应用改进后,执行完整验证。
强制要求:在应用任何变更前运行
./mvnw compile
或
mvn compile
安全准则:若编译失败,立即停止
验证步骤:在应用改进后运行
./mvnw clean verify
或
mvn clean verify
应用前准备:阅读参考文档以了解详细规则与优劣模式
When to use this skill
何时使用本Skill
Review Java code for Spring Boot integration tests
Apply best practices for Spring Boot integration tests in Java code
审查Spring Boot集成测试的Java代码
在Java代码中应用Spring Boot集成测试的最佳实践
Reference
参考资料
For detailed guidance, examples, and constraints, see references/322-frameworks-spring-boot-testing-integration-tests.md.