You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/11/25 14:42:03 UTC

[Myfaces Wiki] Update of "Automated Testing" by PaulSpencer

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by PaulSpencer:
http://wiki.apache.org/myfaces/Automated_Testing

New page:
!MyFaces uses the testing tools in the build process.  Tools like JUnit, Selenium and HostedQA used via Maven plugins.  

== JUnit ==
JUnit is used via the Maven Surefire plugin during the testing phase of the build process.  Source code for unit test are usually located in {{{the src/test}}} directory of each project.

== Selenium ==
Selenium is a testing tool that is run in an browser.  Among other thing, it is used to test navigation and the HTML generated by !MyFaces.  Please refer to Tomahawk's testing section on the !MyFaces website for more information on how Selenium is used and configured.

=== Additional Documentation ===
 * Adding the following to ~/.m2/settings.xml will eliminate to include -Dcargo.tomcat5x.home=/path/to/tomcat5 on the command line to when deploying Cargo and running the test server.{{{
<profile>
  <id>selenium</id>
  <properties>
    <cargo.tomcat5x.home>/path/to/tomcat5</cargo.tomcat5x.home>
  </properties>
</profile>
}}}

== HostedQA ==
[http://www.hostedqa.com/ HostedQA] is a web-based quality assurance solution from [http://www.autoriginate.com/ Autoriginate]. Please refer to Tomahawk's testing section on the !MyFaces website for more information on how HostedQA is used and configured.

=== Additional Documentation ===
 * The HostedQA Client v1.6.2 and 1.7 requires Java 1.5.  Running Java 1.4 will cause the following an {{{Unsupported major.minor version}}} error