You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "David Valeri (Created) (JIRA)" <ji...@apache.org> on 2012/02/06 17:15:59 UTC

[jira] [Created] (CAMEL-4987) Provide first-class support for end-users using Spring Test based unit tests

Provide first-class support for end-users using Spring Test based unit tests
----------------------------------------------------------------------------

                 Key: CAMEL-4987
                 URL: https://issues.apache.org/jira/browse/CAMEL-4987
             Project: Camel
          Issue Type: New Feature
          Components: camel-test
            Reporter: David Valeri
            Assignee: David Valeri
            Priority: Minor
             Fix For: 2.10.0


Camel Spring Test support allows one to unit/integration test Camel routes bootstrapped using the Spring DSL or using other DSLs but wired together using Spring.  Many Spring users benefit from the features of Spring Test's declarative testing capabilities.  CamelTestSupport provides some overlap in features with those from Spring Test; however, the conventions are different.

This new feature would provide all of the features of CamelTestSupport using annotations that are compatible with the Spring Test framework.  I envision that this style of declarative test development may also be useful outside of Spring Test.  Eventual support of declarative test configuration in plain Camel tests without Spring is a long term option.

This approach to unit testing is not focused on the testing of Camel itself, but on the end users who are building Spring driven applications incorporating Camel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4987) Provide first-class support for end-users using Spring Test based unit tests

Posted by "Christian Müller (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Müller updated CAMEL-4987:
------------------------------------

    Attachment: CAMEL-4987_revert.patch

This patch can be use to revert my revert (for later inclusion of this functionality).
                
> Provide first-class support for end-users using Spring Test based unit tests
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4987
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4987
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-test
>            Reporter: David Valeri
>            Assignee: David Valeri
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: CAMEL-4987_revert.patch
>
>
> Camel Spring Test support allows one to unit/integration test Camel routes bootstrapped using the Spring DSL or using other DSLs but wired together using Spring.  Many Spring users benefit from the features of Spring Test's declarative testing capabilities.  CamelTestSupport provides some overlap in features with those from Spring Test; however, the conventions are different.
> This new feature would provide all of the features of CamelTestSupport using annotations that are compatible with the Spring Test framework.  I envision that this style of declarative test development may also be useful outside of Spring Test.  Eventual support of declarative test configuration in plain Camel tests without Spring is a long term option.
> This approach to unit testing is not focused on the testing of Camel itself, but on the end users who are building Spring driven applications incorporating Camel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Reopened] (CAMEL-4987) Provide first-class support for end-users using Spring Test based unit tests

Posted by "David Valeri (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Valeri reopened CAMEL-4987:
---------------------------------


Re-opening again to improve support for Spring Test 3.1+ features.
                
> Provide first-class support for end-users using Spring Test based unit tests
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4987
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4987
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-test
>            Reporter: David Valeri
>            Assignee: David Valeri
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: CAMEL-4987_revert.patch
>
>
> Camel Spring Test support allows one to unit/integration test Camel routes bootstrapped using the Spring DSL or using other DSLs but wired together using Spring.  Many Spring users benefit from the features of Spring Test's declarative testing capabilities.  CamelTestSupport provides some overlap in features with those from Spring Test; however, the conventions are different.
> This new feature would provide all of the features of CamelTestSupport using annotations that are compatible with the Spring Test framework.  I envision that this style of declarative test development may also be useful outside of Spring Test.  Eventual support of declarative test configuration in plain Camel tests without Spring is a long term option.
> This approach to unit testing is not focused on the testing of Camel itself, but on the end users who are building Spring driven applications incorporating Camel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (CAMEL-4987) Provide first-class support for end-users using Spring Test based unit tests

Posted by "Christian Müller (Reopened JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Müller reopened CAMEL-4987:
-------------------------------------


This issue blocks CAMEL-4778 which is more requested by our users
                
> Provide first-class support for end-users using Spring Test based unit tests
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4987
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4987
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-test
>            Reporter: David Valeri
>            Assignee: David Valeri
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> Camel Spring Test support allows one to unit/integration test Camel routes bootstrapped using the Spring DSL or using other DSLs but wired together using Spring.  Many Spring users benefit from the features of Spring Test's declarative testing capabilities.  CamelTestSupport provides some overlap in features with those from Spring Test; however, the conventions are different.
> This new feature would provide all of the features of CamelTestSupport using annotations that are compatible with the Spring Test framework.  I envision that this style of declarative test development may also be useful outside of Spring Test.  Eventual support of declarative test configuration in plain Camel tests without Spring is a long term option.
> This approach to unit testing is not focused on the testing of Camel itself, but on the end users who are building Spring driven applications incorporating Camel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Work started] (CAMEL-4987) Provide first-class support for end-users using Spring Test based unit tests

Posted by "David Valeri (Work started) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-4987 started by David Valeri.

> Provide first-class support for end-users using Spring Test based unit tests
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4987
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4987
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-test
>            Reporter: David Valeri
>            Assignee: David Valeri
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> Camel Spring Test support allows one to unit/integration test Camel routes bootstrapped using the Spring DSL or using other DSLs but wired together using Spring.  Many Spring users benefit from the features of Spring Test's declarative testing capabilities.  CamelTestSupport provides some overlap in features with those from Spring Test; however, the conventions are different.
> This new feature would provide all of the features of CamelTestSupport using annotations that are compatible with the Spring Test framework.  I envision that this style of declarative test development may also be useful outside of Spring Test.  Eventual support of declarative test configuration in plain Camel tests without Spring is a long term option.
> This approach to unit testing is not focused on the testing of Camel itself, but on the end users who are building Spring driven applications incorporating Camel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4987) Provide first-class support for end-users using Spring Test based unit tests

Posted by "David Valeri (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Valeri resolved CAMEL-4987.
---------------------------------

    Resolution: Fixed

Code and documentation updates complete.
                
> Provide first-class support for end-users using Spring Test based unit tests
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4987
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4987
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-test
>            Reporter: David Valeri
>            Assignee: David Valeri
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> Camel Spring Test support allows one to unit/integration test Camel routes bootstrapped using the Spring DSL or using other DSLs but wired together using Spring.  Many Spring users benefit from the features of Spring Test's declarative testing capabilities.  CamelTestSupport provides some overlap in features with those from Spring Test; however, the conventions are different.
> This new feature would provide all of the features of CamelTestSupport using annotations that are compatible with the Spring Test framework.  I envision that this style of declarative test development may also be useful outside of Spring Test.  Eventual support of declarative test configuration in plain Camel tests without Spring is a long term option.
> This approach to unit testing is not focused on the testing of Camel itself, but on the end users who are building Spring driven applications incorporating Camel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4987) Provide first-class support for end-users using Spring Test based unit tests

Posted by "David Valeri (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Valeri resolved CAMEL-4987.
---------------------------------

    Resolution: Fixed
    
> Provide first-class support for end-users using Spring Test based unit tests
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4987
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4987
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-test
>            Reporter: David Valeri
>            Assignee: David Valeri
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: CAMEL-4987_revert.patch
>
>
> Camel Spring Test support allows one to unit/integration test Camel routes bootstrapped using the Spring DSL or using other DSLs but wired together using Spring.  Many Spring users benefit from the features of Spring Test's declarative testing capabilities.  CamelTestSupport provides some overlap in features with those from Spring Test; however, the conventions are different.
> This new feature would provide all of the features of CamelTestSupport using annotations that are compatible with the Spring Test framework.  I envision that this style of declarative test development may also be useful outside of Spring Test.  Eventual support of declarative test configuration in plain Camel tests without Spring is a long term option.
> This approach to unit testing is not focused on the testing of Camel itself, but on the end users who are building Spring driven applications incorporating Camel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (CAMEL-4987) Provide first-class support for end-users using Spring Test based unit tests

Posted by "Christian Müller (Closed JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Müller closed CAMEL-4987.
-----------------------------------

    Resolution: Fixed

I applied Davids patch again (reverted my revert). camel-test-spring will be always compiled with Spring 3.1. But it's still possible to use it with Spring 3.0.
                
> Provide first-class support for end-users using Spring Test based unit tests
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4987
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4987
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-test
>            Reporter: David Valeri
>            Assignee: David Valeri
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: CAMEL-4987_revert.patch
>
>
> Camel Spring Test support allows one to unit/integration test Camel routes bootstrapped using the Spring DSL or using other DSLs but wired together using Spring.  Many Spring users benefit from the features of Spring Test's declarative testing capabilities.  CamelTestSupport provides some overlap in features with those from Spring Test; however, the conventions are different.
> This new feature would provide all of the features of CamelTestSupport using annotations that are compatible with the Spring Test framework.  I envision that this style of declarative test development may also be useful outside of Spring Test.  Eventual support of declarative test configuration in plain Camel tests without Spring is a long term option.
> This approach to unit testing is not focused on the testing of Camel itself, but on the end users who are building Spring driven applications incorporating Camel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira