]> source.dussan.org Git - vaadin-framework.git/commitdiff
Properties file that can be used to run test.xml
authorArtur Signell <artur.signell@itmill.com>
Thu, 3 Jun 2010 08:39:40 +0000 (08:39 +0000)
committerArtur Signell <artur.signell@itmill.com>
Thu, 3 Jun 2010 08:39:40 +0000 (08:39 +0000)
svn changeset:13520/svn branch:6.3

tests/Run selected test (all browsers).launch [deleted file]
tests/eclipse-run-selected-test.properties [new file with mode: 0644]

diff --git a/tests/Run selected test (all browsers).launch b/tests/Run selected test (all browsers).launch
deleted file mode 100644 (file)
index 6bd7c95..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
-<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">\r
-<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="true"/>\r
-<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;launchConfigurationWorkingSet editPageId=&quot;org.eclipse.ui.resourceWorkingSetPage&quot; factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; id=&quot;1255941973781_71&quot; label=&quot;working set&quot; name=&quot;working set&quot;&gt;&#13;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/vaadin/tests/screenshots/errors&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;/launchConfigurationWorkingSet&gt;}"/>\r
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">\r
-<listEntry value="/vaadin/tests/test.xml"/>\r
-</listAttribute>\r
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">\r
-<listEntry value="1"/>\r
-</listAttribute>\r
-<listAttribute key="org.eclipse.debug.ui.favoriteGroups">\r
-<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>\r
-</listAttribute>\r
-<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>\r
-<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_12"/>\r
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.ui.antsupport.InternalAntRunner"/>\r
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="vaadin"/>\r
-<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>\r
-<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">\r
-<mapEntry key="browsers" value="winxp-opera10"/>\r
-<mapEntry key="com.vaadin.testbench.deployment.url" value="http://192.168.2.75:8888/"/>\r
-<mapEntry key="com.vaadin.testbench.lib.dir" value="c:\temp\tb"/>\r
-<mapEntry key="com.vaadin.testbench.screenshot.softfail" value="true"/>\r
-<mapEntry key="testfiles" value="${resource_loc}"/>\r
-</mapAttribute>\r
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/vaadin/tests/test.xml}"/>\r
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-v"/>\r
-<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>\r
-</launchConfiguration>\r
diff --git a/tests/eclipse-run-selected-test.properties b/tests/eclipse-run-selected-test.properties
new file mode 100644 (file)
index 0000000..3367d01
--- /dev/null
@@ -0,0 +1,27 @@
+; Location where vaadin-testbench jar can be found\r
+com.vaadin.testbench.lib.dir=<enter location of testbench here>\r
+\r
+; Deployment url to use for testing. Context path must be /  \r
+com.vaadin.testbench.deployment.url=http://<enter your ip here>:8888/\r
+\r
+; Location of the screenshot directory. \r
+; This is the directory that contains the "references" directory\r
+com.vaadin.testbench.screenshot.directory=<enter the full path to the screenshots directory, parent of "references" directory>\r
+\r
+; Run the whole test even if \r
+com.vaadin.testbench.screenshot.softfail=true\r
+\r
+; Screen capture at the end if the test fails\r
+com.vaadin.testbench.screenshot.onfail=true\r
+\r
+; Enable cursor detection\r
+com.vaadin.testbench.screenshot.cursor=true\r
+\r
+; Run the test case that is focused in Eclipse. Must be set in Eclipse launch configuration and not here. \r
+; testfiles=${resource_loc}\r
+\r
+; Uncomment to limit to certain browsers or override in launch configuration\r
+; browsers=winxp-opera10\r
+\r
+; Claim that the server has started succesfully. Needed for the tests to run\r
+server.start.succeeded=1
\ No newline at end of file