You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/01/07 09:05:39 UTC

[jira] [Commented] (CAMEL-9484) Make CamelTestContextManager extendable

    [ https://issues.apache.org/jira/browse/CAMEL-9484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087036#comment-15087036 ] 

Claus Ibsen commented on CAMEL-9484:
------------------------------------

Why do you need to extend them in the first place? What is your usecase?

> Make CamelTestContextManager extendable
> ---------------------------------------
>
>                 Key: CAMEL-9484
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9484
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test
>    Affects Versions: 2.16.1
>            Reporter: Serge Smertin
>            Priority: Minor
>
> Recently i've been working on testing framework on top of camel-test and found, that making org.apache.camel.test.spring.CamelSpringJUnit4ClassRunner.CamelTestContextManager as non-final and separate public class would make extendability of camel-test component easier. As now i have to extend CamelSpringJUnit4ClassRunner, make my own and copy-paste the code from CamelTestContextManager in order to add common TestExecutionListener. Having @TestExecutionListeners(listeners = {... is not really an option, as it is not really prone to human error factor.
> any thoughts on this?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)