[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
[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
13 years, 11 months
[JBoss JIRA] Created: (ARQ-69) Redesign the test framework adaptor
by Aslak Knutsen (JIRA)
Redesign the test framework adaptor
-----------------------------------
Key: ARQ-69
URL: https://jira.jboss.org/jira/browse/ARQ-69
Project: Arquillian
Issue Type: Task
Components: Core, Documentation, JUnit, TestNG
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Too much of the Arquillian core responsibility is handed out to the Test Framework integration code. Redesign to a more event/lifecycle based integration.
The DeployableTestBuilder should return a appropriate impl depending on in container or not.
{code}
public interface DeployableTestRunner
{
public void beforeSuite() throws LifecycleException
public void afterSuite() throws LifecycleException
public void beforeClass(Class<?> testClass) throws DeploymentException
public void afterClasss(Class<?> testClass) throws DeploymentException
public void before(Class<?> testClass, Method testMethod)
public void after(Class<?> testClass, Method testMethod)
public TestResult test(TestMethodExecutor testMethodExecutor)
}
{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
13 years, 11 months