[
https://issues.apache.org/jira/browse/CAMEL-8367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-8367.
--------------------------------
Resolution: Cannot Reproduce
Fix Version/s: 2.15.0
Assignee: Claus Ibsen
Just added some tests and they report the exception when the instance is null.
https://github.com/apache/camel/commit/69934ac79afa48ba30387da06823e526f10d8aa0
> Better report runtime exceptions from the route builder while Unit Testing
> --------------------------------------------------------------------------
>
> Key: CAMEL-8367
> URL: https://issues.apache.org/jira/browse/CAMEL-8367
> Project: Camel
> Issue Type: Improvement
> Components: camel-test
> Affects Versions: 2.14.1
> Environment: Windows
> Spring Tool Suite
> STS Tomcat Server
> Testng
> Java DSL
> JDK v 1.7
> Reporter: Tarundeep Singh
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.15.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)