Best ways to unit test servlet MVC-1 oriented code

Discussion in 'Java' started by Berlin Brown, Sep 8, 2006.

  1. Berlin  Brown

    Berlin Brown Guest

    I am working with a large application that uses older 'Servlet'
    oriented style of development. Basically, everything piece is a
    servlet or connected to some kind of filter.

    We could rewrite so that all the 'request.getParameter' and other
    servlet calls are far from the actual business logic but it isnt and I
    can't change it.

    I tried junit cactus but I have redirects (302? 303) responses and
    cactus didnt like that. Actually httpunit didnt like redirects.

    I was going to try httpunit, but (see above) httpunit doesnt like
    redirects.

    Anybody have any ideas?
     
    Berlin Brown, Sep 8, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VvanN
    Replies:
    5
    Views:
    512
    Phlip
    Apr 28, 2006
  2. Bill David
    Replies:
    2
    Views:
    284
    Arne Vajhøj
    Jun 18, 2008
  3. Bill Mosteller
    Replies:
    0
    Views:
    249
    Bill Mosteller
    Oct 22, 2009
  4. James Wenton
    Replies:
    3
    Views:
    280
    Ryan Davis
    May 26, 2010
  5. timr
    Replies:
    2
    Views:
    179
Loading...

Share This Page