You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2019/09/27 08:01:00 UTC
[jira] [Commented] (CAMEL-13342) Introduce JUnit 5 testing support
[ https://issues.apache.org/jira/browse/CAMEL-13342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16939198#comment-16939198 ]
Claus Ibsen commented on CAMEL-13342:
-------------------------------------
[~aldettinger] I wonder if some of the latest commits may cause a build error now on master branch
mvn clean install -P fastinstall
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:37 min
[INFO] Finished at: 2019-09-27T09:58:04+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.camel:bom-generator-maven-plugin:3.0.0-SNAPSHOT:generate (default) on project camel-spring-boot-dependencies-generator: Found 6 conflicts between the current managed dependencies and the external BOMS:
[ERROR] - org.junit.platform:junit-platform-commons:jar
[ERROR] - org.junit.platform:junit-platform-console:jar
[ERROR] - org.junit.platform:junit-platform-engine:jar
[ERROR] - org.junit.platform:junit-platform-launcher:jar
[ERROR] - org.junit.platform:junit-platform-runner:jar
[ERROR] - org.junit.platform:junit-platform-suite-api:jar
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :camel-spring-boot-dependencies-generator
> Introduce JUnit 5 testing support
> ---------------------------------
>
> Key: CAMEL-13342
> URL: https://issues.apache.org/jira/browse/CAMEL-13342
> Project: Camel
> Issue Type: New Feature
> Components: camel-test
> Reporter: Eric Deandrea
> Assignee: Alex Dettinger
> Priority: Major
> Fix For: 3.0.0, 3.0.0.RC2
>
>
> Off-shoot from CAMEL-11807 to allow building support for users to be able to write Camel tests using JUnit 5.
> Some exploratory preparation work have been stored in [a dedicated branch|https://github.com/apache/camel/commits/CAMEL-13342-JUNIT5-EXPLORATORY].
>
> A camel-test-junit5 dedicated module has been created in [CAMEL-13826|https://issues.apache.org/jira/projects/CAMEL/issues/CAMEL-13826].
> A camel-test-spring-junit5 dedicated module has been created in [CAMEL-13965|https://issues.apache.org/jira/projects/CAMEL/issues/CAMEL-13965].
> Other modules may follow:
> camel-testcontainers-junit5 (prototype [here|https://github.com/apache/camel/commit/e044da13e5e7687730619071cedba84e4170ac7e])
> camel-testcontainers-spring-junit5 (prototype [here|https://github.com/apache/camel/commit/d995abb254e892c281494d875cc0dbdab9d26e10])
> camel-cdi-test-junit5 ? (prototype [here|https://github.com/apache/camel/commit/cdefa5ca0c3dc1bc040dd89ab23a70da5189ace4])
> camel-spring-javaconfig-junit5 ?
> ...
> Migrating flaky tests to JUnit 5 is not recommended yet as there are still open discussions at [JUnit 5|https://github.com/junit-team/junit5/issues/1558] as well as Surefire level.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)