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 2021/09/12 07:54:00 UTC

[jira] [Commented] (CAMEL-16945) Convert tests in camel-spring-boot to Junit 5

    [ https://issues.apache.org/jira/browse/CAMEL-16945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413668#comment-17413668 ] 

Claus Ibsen commented on CAMEL-16945:
-------------------------------------

If you want to help with better documentation, then we need to add a section to
https://github.com/apache/camel/blob/main/components/camel-test/camel-test-spring-junit5/src/main/docs/test-spring-junit5.adoc

about testing with camel on spring boot. Today we only have docs for classic spring XML (before spring boot).

With the work you will do for the junit 5 upgrade then you get hands into this subject and then would be able to help with the doc.

Since spring boot is the choice today then I think the spring boot testing section should come first, and then the existing classic spring can be below.
For updating the docs, you are welcome to create another JIRA (maybe as a sub jira for https://issues.apache.org/jira/browse/CAMEL-16861)

> Convert tests in camel-spring-boot to Junit 5
> ---------------------------------------------
>
>                 Key: CAMEL-16945
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16945
>             Project: Camel
>          Issue Type: Task
>          Components: camel-spring-boot
>    Affects Versions: 3.11.0
>            Reporter: Karen Lease
>            Assignee: Karen Lease
>            Priority: Minor
>
> A lot of tests in the camel-spring-boot project use Junit4. Currently because of the lack of the  junit-vintage-engine dependency in the pom the tests are ignored by Maven.
> They should be upgraded to Junit5 and checked for correct behavior.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)