Skip to content
Stefan Bunciak edited this page May 3, 2014 · 7 revisions

1. Add maven profile:

Note: you need to have JBoss.org Maven repository configured in your Maven settings.xml file. See: https://community.jboss.org/wiki/MavenGettingStarted-Users

<profiles>
...
	<profile>
		<id>arquillian-sramp-remote</id>
		<dependencies>
			<dependency>
				<groupId>org.jboss.qa.arquillian.container</groupId>
				<artifactId>arquillian-sramp-remote</artifactId>
				<version>${version.arquillian_sramp_remote}</version>
				<scope>test</scope>
			</dependency>
		</dependencies>
		<activation>
			<activeByDefault>false</activeByDefault>
		</activation>
	</profile>
...
</profiles>

2. Configure connection properties in arquillian.xml (optional)

<container qualifier="sramp" default="true">
	<configuration>
		<property name="srampHost">localhost</property>
		<property name="srampPort">8080</property>
		<property name="srampUsername">admin</property>
		<property name="srampPassword">overlord</property>
	</configuration>
</container>

3. Implement & run your tests!

For more details on how to develop tests using Arquillian see: Getting Started Guide

You can also explore tests contained within this project: