jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: Please help me.
Date Wed, 25 Jun 2003 10:00:25 GMT
Anil Agrawal wrote:
> Vincent, I agree with you.
> 
> But then show me way where by I can display message in test result.jsp
> And continue my test.

Ant supports displaying System.out and System.err messages.
The ServletTestRunner doesn't support this (and I have no idea how easy/hard 
it would be to implement, if not impossible).

You can always use logging, of course.

(BTW, there is no "test result.jsp" in Cactus)

-chris

> With regards
> anil
> 
> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com] 
> Sent: Wednesday, June 25, 2003 3:14 PM
> To: 'Cactus Users List'
> Subject: RE: Please help me.
> 
> 
> Ah! Hum... err....
> 
> Anil, before you can use Cactus you need to understand how JUnit works
> (as Cactus extends JUnit). The point of a test is to verify that the
> code works, it does not mean anything to continue executing the same
> test code after a fail happens.
> 
> -Vincent
> 
> 
>>-----Original Message-----
>>From: Anil Agrawal [mailto:a.agrawal@popnet.co.in]
>>Sent: 25 June 2003 11:24
>>To: Cactus Users List
>>Subject: RE: Please help me.
>>
>>I am using cactus servlet test runner.
>>
>>In my testcase after junit.framework.Assert.fail() other
>>Code is there. I want that after fail that piece of code
>>Will also be executed.
>>
>>With regards
>>anil
>>
>>
>>-----Original Message-----
>>From: Vincent Massol [mailto:vmassol@pivolis.com]
>>Sent: Wednesday, June 25, 2003 2:52 PM
>>To: 'Cactus Users List'
>>Subject: RE: Please help me.
>>
>>
>>Hi Anil,
>>
>>In order to help you I need to know what Cactus front end you are
> 
> using:
> 
>>- Ant <junit> task?
>>- Cactus <cactus> task?
>>- Cactus plugin for Maven?
>>- other?
>>
>>If I understood correctly, you would like your build not to fail if a 
>>cactus test fails, right?
>>
>>-Vincent
>>
>>
>>>-----Original Message-----
>>>From: Anil Agrawal [mailto:a.agrawal@popnet.co.in]
>>>Sent: 25 June 2003 09:40
>>>To: cactus-user@jakarta.apache.org
>>>Subject: Please help me.
>>>
>>>I am using ServletTestRunner to test my cactus test cases.
>>>
>>>I am using junit.framework.Assert.fail() method when error comes in
> 
> my
> 
>>>testcase.
>>>
>>>but my problem is testcase ends after writing fail message on
> 
> screen.
> 
>>>I want to continue my test case after printing message on screen.
>>>
>>>Please help me.
>>>
>>>With regards
>>>anil
>>>
>>>
> 
> ---------------------------------------------------------------------
> 
>>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message