What is your approach to integrating automated testing within a CI/CD pipeline using Maven or Gradle?