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

Provide first-class support for end-users using Spring Test based unit tests

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0
    • Component/s: camel-test
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Camel Spring Test support allows one to unit/integration test Camel routes bootstrapped using the Spring DSL or using other DSLs but wired together using Spring. Many Spring users benefit from the features of Spring Test's declarative testing capabilities. CamelTestSupport provides some overlap in features with those from Spring Test; however, the conventions are different.

      This new feature would provide all of the features of CamelTestSupport using annotations that are compatible with the Spring Test framework. I envision that this style of declarative test development may also be useful outside of Spring Test. Eventual support of declarative test configuration in plain Camel tests without Spring is a long term option.

      This approach to unit testing is not focused on the testing of Camel itself, but on the end users who are building Spring driven applications incorporating Camel.

        Attachments

        1. CAMEL-4987_revert.patch
          134 kB
          Christian Müller

          Issue Links

            Activity

              People

              • Assignee:
                davaleri David Valeri
                Reporter:
                davaleri David Valeri
              • Votes:
                3 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: