Skip to content

Commit

Permalink
testsuite structure update
Browse files Browse the repository at this point in the history
  • Loading branch information
maschmid committed Nov 2, 2011
1 parent b830e85 commit a9e0126
Show file tree
Hide file tree
Showing 80 changed files with 587 additions and 1,077 deletions.
106 changes: 1 addition & 105 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<modules>
<module>api</module>
<module>impl</module>
<module>tests/base</module>
<module>testsuite</module>
</modules>

<properties>
Expand Down Expand Up @@ -57,14 +57,6 @@
<artifactId>seam-persistence</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jboss.seam.persistence</groupId>
<artifactId>seam-persistence-tests-base</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

</dependencies>

</dependencyManagement>
Expand All @@ -82,102 +74,6 @@
<module>docs</module>
</modules>
</profile>

<profile>
<!-- all tests using managed containers -->
<id>all</id>
<modules>
<module>tests/jbossas-hibernate</module>
</modules>
</profile>

<profile>
<!-- jboss remote profile-->
<id>jbossas-remote-6</id>
<modules>
<module>tests/jbossas-hibernate</module>
</modules>
</profile>

<profile>
<!-- jboss managed profile-->
<id>jbossas-managed-6</id>
<modules>
<module>tests/jbossas-hibernate</module>
</modules>
</profile>

<profile>
<id>code-coverage</id>
<dependencies>
<dependency>
<groupId>emma</groupId>
<artifactId>emma</artifactId>
<version>${emma.version}</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.maven.plugin</groupId>
<artifactId>emma4it-maven-plugin</artifactId>
<executions>
<execution>
<id>report</id>
<phase>post-integration-test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<sourceSets>
<sourceSet>
<directory>${project.parent.build.directory}/../impl/src/main/java
</directory>
</sourceSet>
</sourceSets>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>retrieve-coverage-files</id>
<phase>post-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy file="${project.parent.build.directory}/../impl/target/coverage.em" todir="${basedir}" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${basedir}/</directory>
<includes>
<include>**/*.ec</include>
<include>**/*.em</include>
<include>**/transaction.log</include>
</includes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>

<developers>
Expand Down
19 changes: 14 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
To run the tests you can use either a remote or managed jboss instance.
To run the tests you can use either a remote or managed JBoss AS 7 or embedded Jetty instance

To use a managed instance set the JBOSS_HOME environment variable and run
To use a managed JBoss AS instance set the JBOSS_HOME environment variable and run

mvn install -Pjbossas-managed-6
mvn clean verify -Darquillian=jbossas-managed-7

To use a remote jboss instance start jboss and then run
To use a remote JBoss AS instance start it and then run

mvn clean verify -Darquillian=jbossas-remote-7

To run the embedded Jetty tests with Hibernate run

mvn clean verify -Darquillian=jetty-embedded-7-hibernate

To run the embedded Jetty tests with OpenJPA run

mvn clean verify -Darquillian=jetty-embedded-7-openjpa

mvn install -Pjbossas-remote-6
109 changes: 0 additions & 109 deletions tests/base/pom.xml

This file was deleted.

Loading

0 comments on commit a9e0126

Please sign in to comment.