camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serge Smertin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-9484) Make CamelTestContextManager extendable
Date Wed, 06 Jan 2016 09:53:40 GMT
Serge Smertin created CAMEL-9484:
------------------------------------

             Summary: 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)

Mime
View raw message