Author: antoine Date: Tue Mar 27 03:40:02 2007 New Revision: 522861 URL: http://svn.apache.org/viewvc?view=rev&rev=522861 Log: update of readme about functional tests
Modified: jakarta/slide/trunk/testsuite/README.TXT Modified: jakarta/slide/trunk/testsuite/README.TXT URL: http://svn.apache.org/viewvc/jakarta/slide/trunk/testsuite/README.TXT?view=diff&rev=522861&r1=522860&r2=522861 ============================================================================== --- jakarta/slide/trunk/testsuite/README.TXT (original) +++ jakarta/slide/trunk/testsuite/README.TXT Tue Mar 27 03:40:02 2007 @@ -15,18 +15,56 @@ Running the batch test ---------------------- -1a. install tomcat (with the manager application) - - assure that there is a user that can access the manager application - for installing web apps (i.e. a user with the role 'manager') +1 build the jaas version of the slide webapp (target is webapp-jaas-dist) -1b. run tomcat +2 install tomcat - tomcat 6.0.x works -2. adapt testsuite/junit/testconfigs/_default/test_properties.xml +3 copy slide.war to $CATALINA_HOME/webapps + +4 create jaas.config in $CATALINA_HOME/conf + see http://jakarta.apache.org/slide/howto-jaas.html + +5 set the environment variable CATALINA_OPTS to + -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.config + +6 start tomcat once, access the slide webapp from a web browser so that + it unpacks itself + +7 now, edit $CATALINA_HOME/webapps/slide/WEB-INF/web.xml + set the startup parameter lockdiscoveryIncludesPrincipalURL to true + this parameter is documented here : http://jakarta.apache.org/slide/howto-acl.html + (link security of the Administrator's Guide) + +8 shutdown and restart tomcat + +9 to build the testsuite, from this directory run + + ant make + +10. Optionally + adapt testsuite/junit/testconfigs/_default/test_properties.xml - in particular the first line (server name ant port where the tomcat is running, user name and password of the user that can run the manager app) -3. in batchtest.properties: +11. Optionally + in batchtest.properties: - configure which test configurations shall be executed. - configure which test package (ant target) shall be executed for what configuration + + +12 to run the tp.functional suite, run + + ant tp.functional + + +13 results : + as of March 27th, I got 232/237 tests running successfully in tp.functional + failing tests are : + + functional/multiplestores/code/copy.xml + functional/multiplestores/code/copyFile.xml + functional/multiplestores/code/move.xml + functional/multiplestores/code/moveFile.xml + functional/osx/basicUpload.xml --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]