[ 
https://issues.apache.org/jira/browse/TOMEE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124419#comment-14124419
 ] 

Karol Lassak commented on TOMEE-1341:
-------------------------------------

Now:
Client side:

./arquillian/arquillian-tomee-common/src/main/java/org/apache/openejb/arquillian/common/TomEEContainer.java:
 archiveWithTestInfo

Method creates arquillian-tomee-info.txt from test class, only one test class 
is possible.
Method needs to be run in testClass set witch is not always true.

Server side:
./arquillian/arquillian-tomee-common/src/main/java/org/apache/openejb/arquillian/common/TestClassDiscoverer.java:
 discover

Method finds test class name and enrichs it.
Only one class is possible.

Possible solution:

Change discover method to find all test classes witch reflections.

> Arquillian support for Suite testing
> ------------------------------------
>
>                 Key: TOMEE-1341
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1341
>             Project: TomEE
>          Issue Type: New Feature
>          Components: TomEE Arquillian Adapters
>    Affects Versions: 1.7.0, 2.0.0
>            Reporter: Karol Lassak
>
> I received issue from one of our users claiming  that running 
> ArquillianSuteDeployment is not working with tomee.
> https://github.com/ingwarsw/arquillian-suite-extension/issues/14
> While debugging I found that tomee is creating file arquillian-tomee-info.txt 
> containing class name for test and then this file is parsed for name of class 
> and and only then that file is enriched with arquillian.
> Because of that my arquillian extension is unable to create mutitest archive 
> because only one file is enriched no matter what.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to