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

Better report runtime exceptions from the route builder while Unit Testing

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.14.1
    • Fix Version/s: 2.15.0
    • Component/s: camel-test
    • Labels:
      None
    • Environment:

      Windows
      Spring Tool Suite
      STS Tomcat Server
      Testng
      Java DSL
      JDK v 1.7

    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: