diff --git a/simian/plugin.jelly b/simian/plugin.jelly
index d5c1cbec..14c31972 100644
--- a/simian/plugin.jelly
+++ b/simian/plugin.jelly
@@ -84,7 +84,10 @@
-
+
+
+
+
diff --git a/simian/plugin.properties b/simian/plugin.properties
index fe2de42b..7155b7d5 100644
--- a/simian/plugin.properties
+++ b/simian/plugin.properties
@@ -25,3 +25,5 @@ maven.simian.ignoremodifiers = false
maven.simian.includes = **/*.java
maven.simian.excludes =
+maven.simian.testincludes = **/*.java
+maven.simian.testexcludes =
diff --git a/simian/project.properties b/simian/project.properties
index bc408a43..7d9abd54 100644
--- a/simian/project.properties
+++ b/simian/project.properties
@@ -19,3 +19,4 @@
# -------------------------------------------------------------------
maven.javadoc.links = http://java.sun.com/j2se/1.4.1/docs/api/
maven.junit.fork=yes
+maven.simian.testexcludes = **/ExcludeMe.java
diff --git a/simian/src/test/org/apache/maven/simian/ExcludeMe.java b/simian/src/test/org/apache/maven/simian/ExcludeMe.java
new file mode 100644
index 00000000..38592ff5
--- /dev/null
+++ b/simian/src/test/org/apache/maven/simian/ExcludeMe.java
@@ -0,0 +1,52 @@
+package org.apache.maven.simian;
+
+/* ====================================================================
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * 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.
+ * ====================================================================
+ */
+
+/**
+ *
+ * @author Eric Pugh
+ * @version $Revision: 170200 $
+ */
+public class ExcludeMe {
+ public void iShouldNotBeIncluded() {
+ String one = "one";
+ String two = "two";
+ String three = "three";
+ String four = "four";
+ String five= "five";
+ String six = "six";
+ String seven = "seven";
+ String eight = "eight";
+ String nine = "nine";
+ String ten = "ten";
+ }
+
+ public void iShouldNotBeIncluded2() {
+ String one = "one";
+ String two = "two";
+ String three = "three";
+ String four = "four";
+ String five= "five";
+ String six = "six";
+ String seven = "seven";
+ String eight = "eight";
+ String nine = "nine";
+ }
+
+
+}
diff --git a/simian/xdocs/changes.xml b/simian/xdocs/changes.xml
index c7783a0f..567bb3d6 100644
--- a/simian/xdocs/changes.xml
+++ b/simian/xdocs/changes.xml
@@ -26,7 +26,8 @@
- Upgrade to Simian 2.2.4 and XML file output from Simian.
+ Add include/exclude pattern for test directories.
+ Upgrade to Simian 2.2.4 and XML file output from Simian.
Ant dependency changed to 1.5.3.1.
diff --git a/simian/xdocs/properties.xml b/simian/xdocs/properties.xml
index 7184214e..4ad6e223 100644
--- a/simian/xdocs/properties.xml
+++ b/simian/xdocs/properties.xml
@@ -110,6 +110,30 @@
${maven.src.dir}. The default value is to not
exclude any files.
+
+
+ | maven.simian.testincludes |
+ Yes |
+
+ Specifies a comma-separated list of Ant patterns to use
+ when matching files in the test source tree to be included in the
+ Simian report. The pattern specified is relative to
+ ${pom.build.unitTestSourceDirectory}. The default value is
+ **/*.java, which matches all Java source files
+ in the source tree (specified by the ${pom.build.unitTestSourceDirectory}
+ property.
+ |
+
+
+ | maven.simian.testexcludes |
+ Yes |
+
+ Specifies a comma-separated list of Ant patterns to use when
+ matching files in the test source tree to be excluded from the
+ Simian report. The pattern specified is relative to
+ ${pom.build.unitTestSourceDirectory}. The default value is to not
+ exclude any files.
+ |