From: bstansberry <nu...@jb...> - 2005-07-13 05:24:25
|
Testing I would definitely want to add some unit tests to the JBoss testsuite for standalone session replication. I have tested it manually, but automated testing would be far superior. I believe it should be possible to get many of the existing unit tests to run in standalone mode as well. Here's what I'm thinking. Any comments from testsuite gurus or Tomcat gurus (or anyone else) would be much appreciated: 1) Testsuite build adds a target that builds up a minimal Tomcat installation in the testsuite/output folder. Most of the required pieces are already in the thirdparty module for use in the tomcat sar; would need to bring over a few more. Installation should include Tomcat's Manager webapp. 2) Testsuite adds a target(s) that is able to create a directory for use as a $CATALINA_BASE and programatically launch a Tomcat instance configured to use it. 3) Two such instances would be launched. 4) "Standalone" versions of the existing session replication test cases would be created. These would use the same test code, but instead of using the standard JBoss mechanism for deploying their war files into JBoss, a new version would be created that deploys the war files using HTTP calls to Tomcat's Manager webapp. If this seems like overkill or there is a simple way, please let me know :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884656#3884656 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884656 |