Uploaded image for project: 'Build'
  1. Build
  2. BUILD-293

Configure surefire dependencies to support JUnit 5

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • None
    • None
    • Poms
    • 5

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.19.1</version>
        <dependencies>
          <dependency>
            <groupId>org.junit.platform</groupId>
            <artifactId>junit-platform-surefire-provider</artifactId>
            <version>1.0.2</version>
          </dependency>
          <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-engine</artifactId>
            <version>5.0.2</version>
          </dependency>
        </dependencies>
      </plugin>
      
      • issue doing that, is that JUnit would leak into parent poms :/ can we do it via property?
      • surefire version 2.19.1 was mandated because 2.19 had a regression
      • validate as well whether JUnit 4 "vintage" engine needs to be set up here too

        Acceptance criteria

              Unassigned Unassigned
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: