Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-515

Executes nested classes that are not tests

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      When using excludes like this

      <plugin>
      <artifactId>maven-surefire-plugin</artifactId>
      <configuration>
      <excludes>
      <exclude>org/jboss/bpm/pattern/**/*APITest.java</exclude>
      </excludes>
      <includes>
      <include>org/jboss/bpm/pattern/**</include>
      </includes>
      </configuration>
      </plugin>

      surefire executes the nested classes

      Running org.jboss.bpm.pattern.control.synchronization.SynchronizationTest$TaskB
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
      Running org.jboss.bpm.pattern.control.synchronization.SynchronizationTest$TaskC
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            krosenvold Kristian Rosenvold
            tdiesler Thomas Diesler
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment