]
Matous Jobanek commented on ARQ-74:
-----------------------------------
This issue can be solved by using EmbeddedMaven feature implemented in ShrinkWrap
Resolver:
The resulting deployment method would look like this:
{code:java}
@Deployment
public static Archive deploy(){
return
EmbeddedMaven.forProject("pom.xml").setGoals("package").build().getDefaultBuiltArchive();
}
{code}
Base test deployment on project in which test is run
----------------------------------------------------
Key: ARQ-74
URL:
https://issues.jboss.org/browse/ARQ-74
Project: Arquillian
Issue Type: Feature Request
Components: Packaging Enricher SPI
Reporter: Pete Muir
Fix For: 2.0.0.Beta1
A common testing scenario will be to deploy the artifact generated by the current
project, and run tests against it.
For example, say my project was building a war, I want to be able to deploy that war,
inserting the test case and any beans into the deployment, and have my tests run.
In this case the deep control of the classpath through shrinkwrap is getting in the way.