You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by gp...@apache.org on 2012/02/15 14:27:57 UTC
[2/2] git commit: DELTASPIKE-86 allow to restrict tests to a specific
environment
DELTASPIKE-86 allow to restrict tests to a specific environment
Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/335d4abb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/335d4abb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/335d4abb
Branch: refs/heads/master
Commit: 335d4abb6a9aee5b79d748914fe1258a563dcb99
Parents: d48f3dd
Author: gpetracek <gp...@apache.org>
Authored: Wed Feb 15 14:24:56 2012 +0100
Committer: gpetracek <gp...@apache.org>
Committed: Wed Feb 15 14:24:56 2012 +0100
----------------------------------------------------------------------
deltaspike/parent/it/pom.xml | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/335d4abb/deltaspike/parent/it/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/parent/it/pom.xml b/deltaspike/parent/it/pom.xml
index e2f3419..d74784c 100644
--- a/deltaspike/parent/it/pom.xml
+++ b/deltaspike/parent/it/pom.xml
@@ -213,10 +213,18 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
- <!-- We don't excluded any groups here because AS7 supports all of them -->
<systemProperties>
<arquillian.launch>jbossas-managed-7</arquillian.launch>
</systemProperties>
+ <!-- we just use groups to mark that a test should be executed only
+ with specific environments. even though a java-ee6 application server has to be able to run
+ all tests in theory, we have to exclude some tests because there are e.g. packaging issues or
+ there are currently issues with arquillian. if a test isn't restricted to an environment,
+ no category is used for the test-class. -->
+ <excludedGroups>
+ org.apache.deltaspike.test.category.FullProfileCategory,
+ org.apache.deltaspike.test.category.SeCategory
+ </excludedGroups>
</configuration>
</plugin>
</plugins>
@@ -255,6 +263,14 @@
<systemProperties>
<arquillian.launch>glassfish-remote-3.1</arquillian.launch>
</systemProperties>
+ <!-- we just use groups to mark that a test should be executed only
+ with specific environments. even though a java-ee6 application server has to be able to run
+ all tests in theory, we have to exclude some tests because there are e.g. packaging issues or
+ there are currently issues with arquillian. if a test isn't restricted to an environment,
+ no category is used for the test-class. -->
+ <excludedGroups>
+ org.apache.deltaspike.test.category.SeCategory
+ </excludedGroups>
</configuration>
</plugin>
</plugins>