You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ws...@apache.org on 2006/11/01 06:34:17 UTC
svn commit: r469782 - in /myfaces/tomahawk/trunk:
core/src/site/apt/testing/hostedqa.apt examples/pom.xml
examples/simple/pom.xml
Author: wsmoak
Date: Tue Oct 31 21:34:14 2006
New Revision: 469782
URL: http://svn.apache.org/viewvc?view=rev&rev=469782
Log:
Update to v1.6.2 to take advantage of improvements at HostedQA.
Use a nested fileSet to identify the Selenium tests in src/test/selenium.
Adjust configuration to allow userids and passwords for multiple hostedqa accounts.
MyFaces now uses properties 'myfaces.hostedqa.userid' and 'myfaces.hostedqa.password'.
Disable client config 118 (IE on WinXP) because a test that uses as xpath expression is failing.
TOMAHAWK-583
Modified:
myfaces/tomahawk/trunk/core/src/site/apt/testing/hostedqa.apt
myfaces/tomahawk/trunk/examples/pom.xml
myfaces/tomahawk/trunk/examples/simple/pom.xml
Modified: myfaces/tomahawk/trunk/core/src/site/apt/testing/hostedqa.apt
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/site/apt/testing/hostedqa.apt?view=diff&rev=469782&r1=469781&r2=469782
==============================================================================
--- myfaces/tomahawk/trunk/core/src/site/apt/testing/hostedqa.apt (original)
+++ myfaces/tomahawk/trunk/core/src/site/apt/testing/hostedqa.apt Tue Oct 31 21:34:14 2006
@@ -30,8 +30,8 @@
<profile>
<id>hostedqa</id>
<properties>
- <hostedqa.email>your-id@apache.org</hostedqa.email>
- <hostedqa.password>your-password</hostedqa.password>
+ <myfaces.hostedqa.email>your-id@apache.org</myfaces.hostedqa.email>
+ <myfaces.hostedqa.password>your-password</myfaces.hostedqa.password>
</properties>
</profile>
+-----+
@@ -49,8 +49,8 @@
[]
In addition, the pom for each example app includes a 'hostedqa' profile that
- defines which resource, suite, client, and application configuration should
- be used.
+ defines which resource, client, and application configuration should be used.
+ The
With an email address and password configured in settings.xml, execute the tests
as follows
@@ -86,10 +86,10 @@
[upload] Patch uploaded
[upload] Upload complete
[upload] Saving newly uploaded file for future use
-[playsuite] Playing tests for suite ID 55, application configurations 56, and client configurations 117,118
+[playsuite] Playing 3 Selenium tests on application configurations 56, and clien
+t configurations 117
[playsuite] HostedQA tests complete. Results can be found at:
-[playsuite] - https://myfaces.hostedqa.com/project/54/session/suite/505/view
-[playsuite] - https://myfaces.hostedqa.com/project/54/session/suite/506/view
+[playsuite] - https://myfaces.hostedqa.com/project/54/session/suite/972/view
[playsuite] The tests have PASSED
...
[INFO] ------------------------------------------------------------------------
@@ -99,9 +99,14 @@
* Add Tests
- See {{{selenium.html}this page}} for more information on adding Selenium tests for the example apps.
+ See {{{selenium.html}this page}} for more information on adding Selenium tests
+ for the example apps.
- When a new test is added to the Subversion repo, import it into HostedQA using the web interface,
- {{{http://myfaces.hostedqa.com}here}}, then modify the context name and port as appropriate.
+ New tests in src/test/selenium will automatically be picked up by the
+ configuration.
- The myfaces-example-simple app is running as context name 'simple' on port 9090.
\ No newline at end of file
+ The myfaces-example-simple app is running as context name
+ 'myfaces-example-simple' on port 9090, and only Firefox on WinXP (client
+ configuration 117) is enabled. Client config 118 is IE on WinXP. It is
+ disabled because some of the tests fail on IE. Help with figuring out why
+ that happens is welcome!
\ No newline at end of file
Modified: myfaces/tomahawk/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/pom.xml?view=diff&rev=469782&r1=469781&r2=469782
==============================================================================
--- myfaces/tomahawk/trunk/examples/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/pom.xml Tue Oct 31 21:34:14 2006
@@ -262,7 +262,7 @@
<dependency>
<groupId>com.hostedqa</groupId>
<artifactId>hostedqa-remote-ant</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.6.2</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -302,16 +302,18 @@
<taskdef resource="hostedqatasks" classpathref="maven.plugin.classpath"/>
<upload file="${project.build.directory}/${project.build.finalName}.war"
account="myfaces"
- email="${hostedqa.email}"
- password="${hostedqa.password}"
+ email="${myfaces.hostedqa.email}"
+ password="${myfaces.hostedqa.password}"
resourceId="${hostedqa.resourceId}"/>
- <playsuite suiteId="${hostedqa.suiteId}"
- clientConfigs="${hostedqa.clientConfigs}"
+ <playsuite clientConfigs="${hostedqa.clientConfigs}"
appConfigs="${hostedqa.appConfigs}"
account="myfaces"
- email="${hostedqa.email}"
- password="${hostedqa.password}"/>
+ email="${myfaces.hostedqa.email}"
+ password="${myfaces.hostedqa.password}">
+ <fileSet dir="${basedir}/src/test/selenium"
+ excludes="TestSuite.html"/>
+ </playsuite>
</tasks>
</configuration>
</execution>
@@ -320,7 +322,7 @@
<dependency>
<groupId>com.hostedqa</groupId>
<artifactId>hostedqa-remote-ant</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.6.2</version>
</dependency>
</dependencies>
</plugin>
Modified: myfaces/tomahawk/trunk/examples/simple/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/pom.xml?view=diff&rev=469782&r1=469781&r2=469782
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/simple/pom.xml Tue Oct 31 21:34:14 2006
@@ -70,8 +70,7 @@
<id>hostedqa</id>
<properties>
<hostedqa.resourceId>31</hostedqa.resourceId>
- <hostedqa.suiteId>55</hostedqa.suiteId>
- <hostedqa.clientConfigs>117,118</hostedqa.clientConfigs>
+ <hostedqa.clientConfigs>117</hostedqa.clientConfigs>
<hostedqa.appConfigs>56</hostedqa.appConfigs>
</properties>
</profile>