Feature Requests item #984688, was opened at 2004-07-03 20:24
Message generated for change (Comment added) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=984688&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: Release 1.3
>Status: Closed
Priority: 5
Submitted By: Martijn Dashorst (dashorst)
Assigned to: Martijn Dashorst (dashorst)
Summary: Use jetty as testserver

Initial Comment:
Currently, PseudoServer is used as testserver for
testing jWebUnit against. This testserver is rather
limited in functionality (for instance, it doesn't
support cookies). Using a real server as testserver
will enable us to test jWebUnit even better.

The current testcases are sometimes rather complex or
not very intuitive. Using direct HTML pages as
testcases will enable us to drive the tests.

The proposal is to use Jetty as 'the testserver' of
choice. It is simple to set up and probably supports
all types of testcases we could imagine.

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

>Comment By: Julien HENRY (henryju)
Date: 2006-06-05 16:12

Message:
Logged In: YES 
user_id=1235926

Done with Jetty 6.0

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

Comment By: Nicholas Neuberger (nneuberger)
Date: 2004-07-14 18:38

Message:
Logged In: YES 
user_id=175635

Do we still need to refactor all of the test cases?

Ie.  search of references on JWebUnitTest.defineResource  
These references directly delegate to the
pseudoserver.HttpUserAgentTest

I'm guessing, all of the hard-coded web pages should be
moved to actual *.html pages to be used by jetty.  Then I
can finish the jacobie integration.....   Its almost there.

Thoughts.... 

See Ya,

Nick

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

Comment By: Martijn Dashorst (dashorst)
Date: 2004-07-13 01:44

Message:
Logged In: YES 
user_id=695103

Jetty is enabled, the helloworld test works.

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

Comment By: Martijn Dashorst (dashorst)
Date: 2004-07-07 21:40

Message:
Logged In: YES 
user_id=695103

I probably won't be able to put lots of effort into it. My
girlfriend is planning the evenings and weekend full as I'm
typing this message :-)

I suppose I can get some time on the evenings early next
week (monday/tuesday/wednesday evening). 

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

Comment By: Nicholas Neuberger (nneuberger)
Date: 2004-07-07 04:46

Message:
Logged In: YES 
user_id=175635

I was hoping to use it in the next 3 - 14 days.  I can start 
building the Jacobie integration with it.  Right now, without 
the test server changes, it will be very hard to build the 
jacobie integration.

The testserver change looks like its minimal.  I was thinking 
instead of the "sample" package that it would directly 
integrate / replace the psuedoserver code.  Plus, also using 
the JettyDecorator pattern for all of the test cases and the 
test suites.

Can you make the changes within the next week or two?

If not, I can pull down the main trunk head and make the 
mods.

See Ya,

Nick



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

Comment By: Martijn Dashorst (dashorst)
Date: 2004-07-07 00:03

Message:
Logged In: YES 
user_id=695103

I was wondering how much of the integration you already had
in place. You mentioned doing stuff a little different from
the example.

I am willing to implement Jetty as testserver. How soon do
you need it? :-P


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

Comment By: Nicholas Neuberger (nneuberger)
Date: 2004-07-06 23:44

Message:
Logged In: YES 
user_id=175635

Martijn,

are you going to add this to the main HEAD trunk?  

if not, let me know.  I can make the changes in the jacobie
branch.  then merge later into HEAD.

I would like to start using it for the JACOBIE integration.

Any thoughts.

See Ya,

Nick

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

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


_______________________________________________
Jwebunit-development mailing list
Jwebunit-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to