You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "John D. Ament (JIRA)" <ji...@apache.org> on 2013/12/29 20:44:50 UTC
[jira] [Commented] (TOMEE-1101) Test methods are not getting
enriched when run via Arquillian
[ https://issues.apache.org/jira/browse/TOMEE-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858414#comment-13858414 ]
John D. Ament commented on TOMEE-1101:
--------------------------------------
It's a little odd that TomEE's adapter doesn't include this dependency by default. You should probably update the docs at [1] to indicate that this should be added as a dependency. Realistically though the dependency has a compatible license (ASLv2) so there's no reason I can think of to not include it.
[1]: http://tomee.apache.org/arquillian-available-adapters.html
> Test methods are not getting enriched when run via Arquillian
> -------------------------------------------------------------
>
> Key: TOMEE-1101
> URL: https://issues.apache.org/jira/browse/TOMEE-1101
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Arquillian Adapters
> Affects Versions: 1.6.0
> Reporter: John D. Ament
> Assignee: Romain Manni-Bucau
>
> While running some DS tests, found that test methods are not getting enriched as expected.
> The doc is here (from Arquillian): https://docs.jboss.org/author/display/ARQ/Dependency+injection
> The format of it seems to imply container is somewhat responsible for the enrichment (hence creating the ticket here rather than in the Arquillian JIRA).
> An example test is this: @Test
> public void testSuccessfulAmbiguousLookup(@ExternalResource(storage = ClasspathStorage.class,
> location="META-INF/beans.xml") List<InputStream> inputStreams)
> {
> Assert.assertTrue(inputStreams.size() > 1); //the count is different on as7 compared to the standalone setup
> }
> Which seems to not be triggering the CDI producer.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)