Return-Path: Delivered-To: apmail-jakarta-cactus-user-archive@apache.org Received: (qmail 72685 invoked from network); 15 May 2002 14:31:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 May 2002 14:31:36 -0000 Received: (qmail 5815 invoked by uid 97); 15 May 2002 14:31:34 -0000 Delivered-To: qmlist-jakarta-archive-cactus-user@jakarta.apache.org Received: (qmail 5735 invoked by uid 97); 15 May 2002 14:31:33 -0000 Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Cactus Users List" Reply-To: "Cactus Users List" Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 5597 invoked by uid 98); 15 May 2002 14:31:32 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <5.1.0.14.0.20020515171738.03050648@popmail.activeisp.com> X-Sender: kaarle.kaila@kk-software.fi@popmail.activeisp.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 15 May 2002 17:27:55 +0300 To: "Cactus Users List" From: Kaarle Kaila Subject: Re: New Tutorials in Cactus 1.4 In-Reply-To: <019a01c1fb98$1d77b630$0200a8c0@octovma> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 23:38 14.5.2002 +0100, you wrote: >Hi, > >Cactus 1.4 boasts a new ServletTestRunner to easily start your tests >from a browser. > >I have uploaded the Cactus 1.4 documentation web site on >http://jakarta.apache.org/cactus/1.4/ > >You should find the following 2 new tutorials of interest : > >http://jakarta.apache.org/cactus/1.4/howto_runner.html >http://jakarta.apache.org/cactus/1.4/howto_tomcat.html > >I'd like to get some feedback from Cactus users to know if there is >interest for this and if you think the new Quick Start tutorial is good >(second link above). Hi Vincent, Here is some feedback after my first experiment with the TestRunner. I have a simple application that I use for giving Unit testing and/or= tag-lib speeches. I will update the files maybe today and there I have included this about testing the Cactus testcases: You find my application at http://sourceforge.net/projects/kacoma I think the idea looks good. In my tests the testRunner fails (crashes)=20 unless all tests pass but I expect this to be corrected soon. ( I used cactus.jar of 14.5.2002) here is the part about running Cactus tests: Running the Cactus TestCases You must have your appserver running for Cactus tests to function. It is=20 possible to have Ant take care of this but that has not been implemented in= =20 KaCoMa. You have following options to execute Cactus tests in KaCoMa: =B7 Ant xml - in your kacoma directory executes all tests including=20 Cactus tests and returns the result in xml-format which is converted to=20 html format into =B7 kacoma/reports/html/Index.html =B7 Ant swing - in your kacoma directory starts the java swing version= =20 of JUnit TestRunner. You must then type in the name of the test and press=20 the Execute button. =B7 Use JUnitEE by requesting the URL {appserver}/test.html where=20 {appserver} is the url of your appserver (Perhaps=20 =B7 http://localhost:7001/test.html for WLS 6.1 or=20 =B7 http://localhost:8080/kacoma/test.html for Tomcat). You can=20 execute several tests with JUnitEE by selecting them from the list. =B7 Cactus (beta) 1.4 created after 14 may 2002 includes a TestRunner= =20 that functions in the same way as JUnitEE. The required cactus TestRunner=20 servlet has been described in web.xml and a call for the test in included=20 in the welcome page of your webapp. (Perhaps =B7 http://localhost:7001/= =20 for WLS 6.1 or =B7 http://localhost:8080/kacoma for Tomcat). For this to=20 function you must download the latest nightly build (1.4) of cactus.jar.=20 You may need also other files than cactus.jar. As of writing this test this= =20 TestRunner is very new and seems to manage only tests that pass. Check for= =20 details at =B7 http://jakarta.apache.org/cactus/1.4/howto_runner.html regards Kaarle >If there is a *huge* interest, we may decide to deliver a version 1.4 in >the very near future (that's of course if you think this is big enough >to warrant it). > >Thanks >-Vincent > > >_______________________ >Vincent Massol >OCTO Technology UK Ltd >http://www.octo.com >vmassol@octo.com > > >-- >To unsubscribe, e-mail: = >For additional commands, e-mail:= --------------------------------------------- Kaarle Kaila http://www.iki.fi/kaila mailto:kaarle.kaila@iki.fi tel: +358 50 3725844 -- To unsubscribe, e-mail: For additional commands, e-mail: