Skip to content

Instantly share code, notes, and snippets.

@shrikanthavale
Created September 19, 2014 09:30
Show Gist options
  • Save shrikanthavale/ec96736e32df8b6985bb to your computer and use it in GitHub Desktop.
Save shrikanthavale/ec96736e32df8b6985bb to your computer and use it in GitHub Desktop.
arquillian.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************
Resource Configuration file specific to Arquillium Testing,
*******************************************************************
-->
<arquillian xmlns="http://jboss.org/schema/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<defaultProtocol type="Servlet 3.0">
<!-- Can specify the execution type -->
<!-- property name="executionType">MANAGED</property -->
</defaultProtocol>
<!-- Managed container settings, mvn clean test -Parq-jbossas-managed -->
<container qualifier="wildfly-as-managed" default="true">
<configuration>
<property name="jbossHome">C:/softwares/wildfly-8.1.0.Final</property>
<property name="modulePath">C:/softwares/wildfly-8.1.0.Final/modules</property>
<property name="outputToConsole">true</property>
<property name="serverConfig">standalone.xml</property>
<!-- For Debugging managed enviornment wildfly Junit -->
<!-- <property name="javaVmArguments">-Xmx512m -XX:MaxPermSize=128m -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y</property> -->
<!-- <property name="allowConnectingToRunningServer">true</property> -->
</configuration>
</container>
<!-- For running test cases on remote server, mvn clean test -Pprofilernt-remote-server-->
<!-- container qualifier="jboss" default="true">
<configuration>
<property name="managementAddress">myhost</property>
<property name="managementPort">9999</property>
</configuration>
</container-->
<!-- Spring extension settings -->
<extension qualifier="spring-deployer">
<!-- Disables the auto package allowing to add all the dependencies through the test -->
<!-- Spring Release 4.0 JAR are already present in WAR build by ShrinkWrap, so no need to add again and hence
autopackage is set to false -->
<property name="autoPackage">false</property>
</extension>
<!-- If you want to see what war is created by shrinkwrap api in ProfilerTestWarDeployment, uncomment this and change path accordingly -->
<!-- <engine> -->
<!-- <property name="deploymentExportPath">C:/target/deployments</property> -->
<!-- </engine> -->
</arquillian>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment