Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

junit and HttpServletRequest  RSS feed

 
Adam Sykes
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to emulate an HttpServletRequest for the purposes of testing someing in a junit fixture. I have created a dummy unit test HttpServletRequest by implementing the interface. Can anyone give me quick pointers on setting up the basic attributes which would be sent to the server i.e pathInfo etc.....?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!