opensubscriber
   Find in this group all groups
 
Unknown more information…

j : jwebunit-development@lists.sourceforge.net 15 August 2009 • 12:44AM -0400

[JWebUnit-development] Request to contribute for Port to JUnit4
by Geneho Kim

REPLY TO AUTHOR
 
REPLY TO GROUP






Hi.
My name is Clint Kim, and I'd like to contribute to JWebUnit. Mainly,  
I'd like to work on JUnit4 port.

I've used HttpUnit, HtmlUnit, JUnit, over the past years. I found that  
JWebUnit to be very useful. However, my new project only works with  
JUnit 4 (company policy). Hence, I'd need port that works with JUnit 4.

Here is my initial approach:

* Add a new interface: net.sourceforge.jwebunit.junit.WebTestHelper  
(or WebTestSupport).
* Add a new class:  
net.sourceforge.jwebunit.junit.WebTesterClientJUnit4 that implements  
the above interface. (This should be a package-private class)
* Add a new class: net.sourceforge.jwebunit.api.WebTestClientFactory.  
This factory could have the following methods:

public static WebTestHelper createJUnit3Instance()
public static  WebTestHelper createJunit4Instance()

* Deprecate class: net.sourceforge.jwebunit.junit.WebTester
* Make net.sourceforge.jwebunit.junit.WebTester implement WebTestHelper.

If this seems to be a lot of changes, we could go with a single new  
class that uses JUnit 4 assertions (org.junit.Assert.*).

Thanks,
Clint

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
JWebUnit-development mailing list
JWebUnit-development@list...
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.