Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 90246 invoked from network); 30 Jun 2003 10:15:08 -0000 Received: from unknown (HELO io.heavens-door.net) (62.96.5.66) by daedalus.apache.org with SMTP; 30 Jun 2003 10:15:08 -0000 Received: from gmx.de (fire1.mediatis.de [62.96.5.65]) by io.heavens-door.net (Postfix) with ESMTP id 37C6A1DE13 for ; Mon, 30 Jun 2003 12:15:12 +0200 (CEST) Message-ID: <3F000E20.4000104@gmx.de> Date: Mon, 30 Jun 2003 12:17:04 +0200 From: Christopher Lenz Organization: mediatis GmbH User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: de-de, en MIME-Version: 1.0 To: Cactus Users List Subject: Re: Need Help in testresult.jsp References: <3E5B4E18BB378C46B1C324407BF9A026087DC4@rose.popnet.co.in> In-Reply-To: <3E5B4E18BB378C46B1C324407BF9A026087DC4@rose.popnet.co.in> X-Enigmail-Version: 0.73.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Anil, why don't you use Ant (or Maven) to automate the tests? Ant has a task that generates reports very similar to those generated by the ServletTestRunner -- but more powerful. As I said before, it includes the ability to capture messages printed to System.err/System.out and display them in the reports (in pop-up windows, IIRC). You can even send those reports as HTML mails to your devs/testers if a test fails, using the builtin task, etc etc. IMHO, the ServletTestRunner is nice for playing around, but shouldn't be used in more serious scenarios, especially with larger teams. -chris Anil Agrawal wrote: > Thanks chris, > > Please give me guideance. > > We are writing automated testcases for all our components. > > Our purpose it to run all our testcases periodically and any > > One will run these testcases. Now data which will be entered > > Today will not be valid after 6 months. So if we can display > > Those data in our testresult.jsp then viewer will get better > > Idea why test failed? Otherwise he has to check the source > > Data. > > With regards > anil > > > > > -----Original Message----- > From: Christopher Lenz [mailto:cmlenz@gmx.de] > Sent: Monday, June 30, 2003 2:49 PM > To: cactus-user@jakarta.apache.org > Subject: Re: Need Help in testresult.jsp > > > Anil, > > that is not supported, and probably will never be. > > -chris > > Anil Agrawal wrote: > >>I am using cactus servlet test runner. >> >>I am getting all testresults properly in testjsp. >> >>I want to display all the data which I have entered >>before my testcase call junit.framework.Assert.fail() method. >> >>I dont want to use System.out.println & System.err.println >>which will print the out put on console. I dont want to >>use any logging mechanisam. >> >>I want to display data in the same jsp where testresults >>are displayed. >> >> >>With regards >>anil