Skip to content

Instantly share code, notes, and snippets.

@rafaeltuelho
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaeltuelho/34941d928b68e30f7979 to your computer and use it in GitHub Desktop.
Save rafaeltuelho/34941d928b68e30f7979 to your computer and use it in GitHub Desktop.
Arquillian Descritor example for JBoss/Wildfly Integration tests
<?xml version="1.0" encoding="UTF-8"?>
<!--
JBoss, Home of Professional Open Source
Copyright 2014, Red Hat, Inc. and/or its affiliates, and individual
contributors by the @authors tag. See the copyright.txt in the
distribution for a full listing of individual contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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">
<!-- Uncomment to have test archives exported to the file system for inspection -->
<!-- <engine> -->
<!-- <property name="deploymentExportPath">target/</property> -->
<!-- </engine> -->
<!-- Force the use of the Servlet 3.0 protocol with all containers, as it is the most mature -->
<defaultProtocol type="Servlet 3.0" />
<!-- Example configuration for a remote JBoss EAP 6 instance -->
<container qualifier="jboss-managed" default="true">
<!-- If you want to use an existing JBoss AS installation, change the value of this property to that path -->
<!-- If you've already set the JBOSS_HOME environment variable, you can remove this configuration block -->
<!-- property name="jbossHome">target/jboss-as-7.1.1.Final</property -->
<!-- property name="javaVmArguments">-Xmx512m -XX:MaxPermSize=128m -Xverify:none -XX:+UseFastAccessorMethods</property -->
<!-- property name="outputToConsole">true</property -->
</container>
</arquillian>
@rafaeltuelho
Copy link
Author

For additional JBoss EAP container adapter properties see: https://docs.jboss.org/author/display/ARQ/JBoss+AS+7.1%2C+JBoss+EAP+6.0+-+Remote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment