aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Rogan Creswick <creswick@gmail.com>2012-08-27 17:52:56 -0700
committerGravatar Rogan Creswick <creswick@gmail.com>2012-08-27 17:52:56 -0700
commitcd318e0b1bab3bfa81ad7db0c8aa38889d6fefa5 (patch)
treee21238f17788a0afaa9209daad678c7c90677e41
parent7a45a603b6c9b21be2fde369b3ffd3ae4ccfb0c6 (diff)
updated testrunner to use a properties file to supply JVM arguments to the tests. This means we can specify per-system progarm paths more easily.
-rw-r--r--testrunner/pom.xml12
-rw-r--r--testrunner/programs.properties1
2 files changed, 12 insertions, 1 deletions
diff --git a/testrunner/pom.xml b/testrunner/pom.xml
index 25ae96e..87a1b14 100644
--- a/testrunner/pom.xml
+++ b/testrunner/pom.xml
@@ -31,6 +31,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
</properties>
<build>
@@ -40,12 +41,21 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.11</version>
+ <configuration>
+ <systemPropertiesFile>programs.properties</systemPropertiesFile>
+ </configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
+ <!-- <dependency> -->
+ <!-- <groupId>org.codehaus.mojo</groupId> -->
+ <!-- <artifactId>properties-maven-plugin</artifactId> -->
+ <!-- <version>1.0-alpha-1</version> -->
+ <!-- </dependency> -->
+
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -58,7 +68,7 @@
<artifactId>selenium-java</artifactId>
<version>2.19.0</version>
</dependency>
-
+
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
diff --git a/testrunner/programs.properties b/testrunner/programs.properties
new file mode 100644
index 0000000..72bc402
--- /dev/null
+++ b/testrunner/programs.properties
@@ -0,0 +1 @@
+FIREFOX_BIN_PATH=/home/creswick/myapps/firefox/firefox-10.0.7-x86_64/firefox \ No newline at end of file