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

Better report runtime exceptions from the route builder while Unit Testing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 2.14.1
    • 2.15.0
    • camel-test
    • None
    • Windows
      Spring Tool Suite
      STS Tomcat Server
      Testng
      Java DSL
      JDK v 1.7

    • Unknown

    Description

      Reference Link: http://stackoverflow.com/questions/28508351/apache-camel-how-to-print-exception-trace-while-unit-testing-using-cameltestsup

      While unit testing a Route Builder class, a Runtime exception takes place in code that creates routes. This is simply reported as test failure.
      No Stacktrace or any reason of failure of a particular test is printed.

      Would prefer better reporting of runtime exceptions while testing.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            CamelJiraTarun Tarundeep Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: