Martin Tzvetanov Grigorov created AVRO-3628:
-----------------------------------------------

             Summary: [Java] JUnit 4.x tests are not executed
                 Key: AVRO-3628
                 URL: https://issues.apache.org/jira/browse/AVRO-3628
             Project: Apache Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.11.1
            Reporter: Martin Tzvetanov Grigorov
            Assignee: Martin Tzvetanov Grigorov


AVRO-3579 introduced JUnit 5 and migrated some of the tests.

This confused maven-surefire-plugin and now it does not run the JUnit 4.x 
tests, e.g.:
{code:java}
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ 
avro-maven-plugin ---
[INFO] Tests will run in random order. To reproduce ordering use flag 
-Dsurefire.runOrder.random.seed=71852499748477
[INFO] Using auto detected provider 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.2:check (checkstyle-check) @ 
avro-maven-plugin ---
[INFO] Starting audit...
 {code}
 

We should use JUnit 5.x Vintage engine instead of JUnit 4.x



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to