12 Replies Latest reply on Jul 11, 2009 4:54 PM by Stan Silvert

    ServletTestRunner parameters

    Julian Salerno Newbie

      Hi all.

      I would like to pass unit test parameters thru to my tests via the ServletTestRunner servlet.

      For example:

      Inside my test case class which extends ServletTestCase, I can get access to MYPARAMNAME=MYPARAMVALUE, even though I am exploring this field and the magic behind it:

      HttpServletRequestWrapper requestWrapper = super.request;

      So, is this by design, flaw, neither...or am I missing something ?