[
https://issues.jboss.org/browse/RF-12363?page=com.atlassian.jira.plugin.s...
]
Juraj Húska commented on RF-12363:
----------------------------------
I have successfully run metamer ftest on the TomEE container.
I have used arquillian tomee remote adapter, which works in the way that if there is
running TomEE on the specifier port that it attaches to it, otherwise it downloads up to
date TomEE binaries and starts it by itself. Note that it is also possible to use own
binaries, however, I had some problems to do it, as there are probably some dependencies
conflicts and it is advised to let TomEE adapter to download bits and use them. This
probably will change in the future.
You can check out the so far work on
[
this|https://github.com/richfaces/qa/tree/RF-12363/metamer] branch.
And to run it:
# assuming you are in the directory: qa/metamer/application
# run _mvn clean install -Pwar-tomee -DskipTests=true_
# assuming you are in the directory: qa/metamer/ftest
# run _mvn clean verify -Ptomee-remote_
Allow managed Arquillian in-container tests execution with TomEE
----------------------------------------------------------------
Key: RF-12363
URL:
https://issues.jboss.org/browse/RF-12363
Project: RichFaces
Issue Type: Task
Security Level: Public(Everyone can see)
Components: tests - functional
Affects Versions: 4.3.0.Milestone1
Reporter: Lukáš Fryč
Assignee: Juraj Húska
For MyFaces integration testing, we are using TomEE container, which allow us to
configure tests with single dependency (no additional libraries are necessary to provide
as for Servlet containers like Tomcat).
But there are only {{embedded}} and {{remote}} adapters for Arquillian integration:
http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/
As we need to run tests on real container, we would need {{managed}} version of TomEE
container.
{{embedded}} container is not enough, since it doesn't have to provide real feedback
- see [Danger of Embedded
Containers|http://arquillian.org/blog/2012/04/13/the-danger-of-embedded-c...].
----
Some reports adapter for Tomcat 7 should work almost fine with TomEE:
https://community.jboss.org/thread/199103
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira