Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14123

camel-test: provide custom assertj assertions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • 3.x
    • camel-test
    • None
    • Unknown

    Description

      AssertJ allow to create custom assertions [ยน] and such feature is leveraged by Spring Boot to ease testing some part of the framework (as example the ApplicationContext [2]).

      We should provide something similar at least for the Camel Context and the Mock Component.

      [1] https://joel-costigliola.github.io/assertj/assertj-core-custom-assertions.html
      [2] https://github.com/eugenp/tutorials/blob/413ffde3db305d5b22098e2153d291b75ede658f/spring-boot-autoconfiguration/src/test/java/com/baeldung/autoconfiguration/ConditionalOnBeanIntegrationTest.java#L20-L25

      Attachments

        Activity

          People

            Unassigned Unassigned
            lb Luca Burgazzoli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: