[
https://issues.jboss.org/browse/JBWS-3667?page=com.atlassian.jira.plugin....
]
Alessio Soldano commented on JBWS-3667:
---------------------------------------
When converting existing code to use Shrinkwrap, we need to review deployment names as
there're some tests using the same deployments, so we should factor the code for
building those deployment archive to a common place (usually tests from the same package
might use the same deployment archives).
Support to create deployment archives directly in testcase using
shrinkwrap
---------------------------------------------------------------------------
Key: JBWS-3667
URL:
https://issues.jboss.org/browse/JBWS-3667
Project: JBoss Web Services
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: jbossws-cxf
Affects Versions: jbossws-cxf-4.2
Reporter: Petr SakaĆ
Fix For: jbossws-cxf-4.3
Attachments:
patch_jbossws_cxf_trunk_modules_testsuite_shrinkwrap_integration.v3.txt,
patch_jbossws_cxf_trunk_modules_testsuite_shrinkwrap_integration_example.v2.txt
Support to create deployment archives directly in testcase in java using shrinkwrap
instead of creating ant task.
Advantages
- test case does not require to run ant task before running
- test case can be easily run from IDE
- can be used for arquillian integration the future
- definition of deployed archives is visible in test case ant not in separate xml
the change requires adding shrinkwrap dependency in the modules/testsuite/pom.xml and
optional change of JBossWSTestHelper to provide basic support
See attached patch patch_jbossws_cxf_trunk_modules_testsuite_shrinkwrap_integration.txt
and example usage in
patch_jbossws_cxf_trunk_modules_testsuite_shrinkwrap_integration_example.txt
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira