Feature Requests item #1465575, was opened at 2006-04-06 10:35
Message generated for change (Comment added) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1465575&group_id=61302

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Julien HENRY (henryju)
Assigned to: Nobody/Anonymous (nobody)
Summary: HtmlUnit dialog

Initial Comment:
jWebUnit is a great solution, but unfortunatly,
HttpUnit is not maintened. I can't test my website
because of bad Javascript support.

So, I wrote a (simplified) HtmlUnit implementation of
IJWebunitDialog, and it's working good for me.

If you are interested by this work, I can give it to you.

But using HtmlUnit needs to clean jWebUnit, that use
HttpUnit objects (e.g. WebResponse) even outside of
HttpUnitDialog.

I will be very happy to work on this, because even if I
know that Selenium is a great tool, jWebUnit is better
for automatic integration tests that run on Continuum
for example.

----------------------------------------------------------------------

>Comment By: Julien HENRY (henryju)
Date: 2006-04-07 15:29

Message:
Logged In: YES 
user_id=1235926

Extract this in your local Maven repository.

I can't upload httpunit jar, so you have to take
httpunit-1.6.1-20060101.jar in the jwebunit cvs, and move it
to ~/.m2/repository/httpunit/httpunit/cvs/httpunit-cvs.jar

----------------------------------------------------------------------

Comment By: Julien HENRY (henryju)
Date: 2006-04-07 15:22

Message:
Logged In: YES 
user_id=1235926

OK, here is a Maven 2 release of jWebUnit.

I removed jacobie dialog, since jacobie is not in Maven
repository.
The last release of httpunit in Maven repo is 1.6, so you
have to add a newer in your local repository (I called it
"cvs" release).

By default, tests are run with httpunit, and you could see
all run well. If you want to change to htmlunit, juste
uncomment the line in setUp() method in JWebUnitAPITestCase.
I get this result :
Tests run: 151, Failures: 6, Errors: 23
Some errors are not htmlunit fault, but are caused by Jetty.
Indeed, some JSP content are still in response from the
serveur. Even Firefox brings up an error. I don't know why
it works with httpunit.

The other errors are Javascript related, and I will work on it.

----------------------------------------------------------------------

Comment By: Julien HENRY (henryju)
Date: 2006-04-06 12:27

Message:
Logged In: YES 
user_id=1235926

Hi,

Here is a first patch that move httpunit related classes in
a separate package (plugin) and remove all references that
prevent a good independence of jwebunit with the api
(httpunit/htmlunit/...).

All tests runs well (I changed the Jetty port, as I got an
error saying that 8081 is already in use)

----------------------------------------------------------------------

Comment By: Martijn Dashorst (dashorst)
Date: 2006-04-06 10:52

Message:
Logged In: YES 
user_id=695103

Please provide a patch, and I'll try to get it in asap.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1465575&group_id=61302


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to