Loading ...
Sorry, an error occurred while loading the content.
 

Re: [XP] Unit-Testing TagLibs?

Expand Messages
  • Ben Hogan
    From: Griffin Caprio ... We had success with very simple mock objects. We just made our own as they were needed such as
    Message 1 of 3 , May 30, 2002
      From: "Griffin Caprio" <griffincaprio@...>
      > Does anyone know of a way to unit test tag libraries? I know that Cactus
      > does, but I don't need something that large right now.

      We had success with very simple mock objects. We just made our own as they
      were needed such as MockPageContext. Then we could pass these to the Tag
      under test. The best thing was we didn't need a container so the tests were
      very fast.

      see www.mockobjects.com

      Ben Hogan
      http://lizardsoftware.com
    Your message has been successfully submitted and would be delivered to recipients shortly.