camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Resolved] (CAMEL-9484) Make CamelTestContextManager extendable
Date Tue, 09 Feb 2016 09:37:18 GMT


Claus Ibsen resolved CAMEL-9484.
    Resolution: Won't Fix
      Assignee: Claus Ibsen

Extending the test classes is not intended for end users.

> Make CamelTestContextManager extendable
> ---------------------------------------
>                 Key: CAMEL-9484
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test
>    Affects Versions: 2.16.1
>            Reporter: Serge Smertin
>            Assignee: Claus Ibsen
>            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

View raw message