[
http://jira.amdatu.org/jira/browse/AMDATU-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11166#comment-11166
]
Bram de Kruijff commented on AMDATU-379:
----------------------------------------
Comitted initial core and web itest modules. The idea is as follows;
1) The core.itest.base module contain a "CoreFixture" and a "TestContext". The
fixture provides functionality for provisioning into pax exam and configuring a
core deployment. The context provides ease of use and utilities without
inheritance. This module is depended upon and used by the itest.tests module
which is the actual pax exam test module.
2) Other project itest modules like web.itest can simple bring in the
core.itest.base functionality and all required dependencies by depending on it.
No need to duplicate maven dependencies or testcore as was the case before.
3) This can be stacked. So for example en OpenSocial itest module could simple
maven depend on the web.itest.base and this will bring in all that is required
to provision web thus including core.base. (will attach a sample project)
I think the setup is OK, however the Core/WebFixtures and TestContext are just
an initial implementation. When we start implementing real tests they will
probably need some additional love. However, as at this point we may still
choose to not pax but bnd for itests I haven worried too much about finalizing
yet. Will hold till we have decided which way to go.
> Create Pax Exam 2 based integration test framework
> --------------------------------------------------
>
> Key: AMDATU-379
> URL: http://jira.amdatu.org/jira/browse/AMDATU-379
> Project: Amdatu
> Issue Type: Improvement
> Components: Amdatu Core, Amdatu Web
> Affects Versions: 0.2.1
> Reporter: Bram de Kruijff
>
> The integration-tests module based on Pax Exam 1 is not longer suitable as it
> is non modular assuming all platform/projects to be on the classpath. Simply
> splitting it up leads to deplication of a lot of code/config duplication [1].
> Finally Pax Exam 2 is almost finished providing a far more stable and faster
> native test container.
> So the new framework should be something like:
> * Support modular testing
> * Minimized code/config duplication
> * Be Pax Exam 2 native based
> [1]
> http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-7?focusedCommentId=11135&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-11135
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers