[JBoss JIRA] Created: (ARQ-66) provide a mechanism for adding library JARs (test dependencies) to the deployment
by Dan Allen (JIRA)
provide a mechanism for adding library JARs (test dependencies) to the deployment
---------------------------------------------------------------------------------
Key: ARQ-66
URL: https://jira.jboss.org/jira/browse/ARQ-66
Project: Arquillian
Issue Type: Feature Request
Components: Core
Reporter: Dan Allen
Assignee: Pete Muir
Fix For: 1.0.0-alpha-1
The requirement to add extra JARs into the deployment is going to surface fairly early on in the adoption of Arquillian. In our examples, we are sticking to APIs in Java EE, but most projects have third-party JARs on which the application depends. Common examples are a logging framework, Apache Commons libraries, Google Collections, Hibernate Search...anything not available in the container.
We might need to update the @Deployment signature to support:
@Deployment
static Set<Archive<?>> x();
Or maybe a seperate @DeploymentDependencies (this could be defined in e.g. a super class)
@DeploymentDependencies
static Set<Archive<?>> x()
We are also going to need to consider providing APIs for resolving Maven dependencies (groupId, artifactId, version) or resolving test dependencies from the Maven pom. We need to be flexible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] Created: (ARQ-86) Cannot run TestNG getting started tutorial test from inside m2eclipse
by Pete Muir (JIRA)
Cannot run TestNG getting started tutorial test from inside m2eclipse
---------------------------------------------------------------------
Key: ARQ-86
URL: https://jira.jboss.org/jira/browse/ARQ-86
Project: Arquillian
Issue Type: Bug
Components: Documentation
Reporter: Pete Muir
Priority: Critical
Fix For: 1.0.0.Alpha1
Set up the project as described in the ref guide, and try to run any test
FAILED: testConvertToCelsius
java.lang.ClassCastException: java.lang.String cannot be cast to org.testng.xml.XmlInclude
at org.jboss.arquillian.testng.TestNGTestRunner.execute(TestNGTestRunner.java:70)
at org.jboss.arquillian.protocol.servlet.ServletTestRunner.doGet(ServletTestRunner.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:336)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:872)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:637)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months
[JBoss JIRA] Created: (ARQ-70) Support Method argument injection
by Aslak Knutsen (JIRA)
Support Method argument injection
---------------------------------
Key: ARQ-70
URL: https://jira.jboss.org/jira/browse/ARQ-70
Project: Arquillian
Issue Type: Feature Request
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
TestEnrichers should be extended to support method argument injection.
{code}
@Test
public void shouldBeAbleToInjectArguments(@Resource, @EJB, MyCDIBean) throws Exception
{
}
{code}
e.g:
{code}
public interface TestEnricher
{
/**
* Extension point to add features to the test method arguments.
*
* IE. Argument injection
*
* @param method
* @return Object[] that match the Field[] indexes. Return null at a specific index value if it can't be handeled.
*/
Object[] resolve(Method method);
}
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months