CircleCI-Public / maven-orb

Simplify common tasks for building and testing Java projects using Maven on CircleCI.
https://circleci.com/orbs/registry/orb/circleci/maven
MIT License
6 stars 11 forks source link

Test patterns for parallel_test are incorrect #36

Closed sivaprasadreddy closed 1 year ago

sivaprasadreddy commented 1 year ago

Orb Version 1.4.0

Describe the bug While trying to run tests parallelly the unit tests pattern for surefire is considering integration tests pattern (*IT.java) instead of (*Test*.java)

To Reproduce Create a Java app with some unit tests with naming convention *Test*.java and some integration tests with naming *IT.java and run with following CircleCI config.

version: 2.1
orbs:
  maven: circleci/maven@1.4.0
workflows:
  build_and_test:
    jobs:
      - maven/parallel_test:
          command: "verify"
          parallelism: 4