Re: Get Response of every single Testcase

Russell Gold <[email protected]> Wed, 30 Apr 2008 20:51:08 -0400
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
On Apr 30, 2008, at 8:29 AM, [email protected] wrote:

> So here's what I've got so far:
>
> I've implemented a RCP application that starts my HTTPUnit tests.  
> This application contains a tree element which should be filled with  
> the results of every single test. I know that there is the  
> possibility to get an output stream of my test results:
>
> TestResult testresult = TestRunner.run(suite());
>
> But I want to update my GUI after every single testcase so that the  
> user can recognize what is going on. Is there a possibility to get  
> the result of every testcase (assortNotNull, assertEquals, etc.) so  
> that I can update my GUI?

What you want is a custom JUnit testrunner. It has callbacks that you  
can get for each and every test.

>
>
> Regards,
> Jason
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save  
> $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Httpunit-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/httpunit-develop


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone