Re: Testing maven java web projects?

2007-11-25 Thread Dan Kigelman
Hi Dmitry,

What kind of web project is it?  Is it a website or a web service?

For http-based web applications, I would recommend looking into:

httpunit - http://httpunit.sourceforge.net/
htmlunit - http://htmlunit.sourceforge.net/
jwebunit - http://jwebunit.sourceforge.net/
canoo - http://webtest.canoo.com/
selenium - http://www.openqa.org/selenium/

I think HttpUnit allows you to build http requests and read http
responses.  This may be rather low-level if your application serves
HTML.  In that case, I would look into HTMLUnit, which (as its name
suggests) is more suited for testing HTML.

JWebUnit and Canoo are higher-level tools for testing HTML, (they both
use HtmlUnit).  Checking the title, or an option in a  takes
much less code than directly with htmlunit.  With JWebUnit you would
write the testing code in Java, and with Canoo I think you write in
xml.  (I've never used canoo)

Selenium is something I've been meaning to look into.  It has a tool
for recording your actions in a browser and generating code to repeat
that.

Hope this helps,

-- Dan

On Nov 24, 2007 11:59 PM, Dmitry <[EMAIL PROTECTED]> wrote:
> Would like to test Web based maven java project and use Maven 2.0 with stubs
> llibs open source like Junits and etc.
> Any advices?
>
> thanks,
> dt
> ww.ejinz.com search tools
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Testing maven java web projects?

2007-11-24 Thread Dmitry
Would like to test Web based maven java project and use Maven 2.0 with stubs 
llibs open source like Junits and etc.

Any advices?

thanks,
dt
ww.ejinz.com search tools 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]