Foros de discusión
Portlet testing with PortletUnit
Hari Dhanakoti, modificado hace 11 años.
Portlet testing with PortletUnit
New Member Mensajes: 14 Fecha de incorporación: 22/07/12 Mensajes recientes
Hi,
I am now trying to test the portlet using PortletUnit based on IBM Portlet Unit. Have tested the same on sample they have provided.
PortletRunner runner = PortletRunner.createPortletRunner(portletClass, webInfDir, "SuperWallPortlet");
But, in my workspace i couldnt run the same it throws IOException with the above line. Any help will be appreciated.
I am now trying to test the portlet using PortletUnit based on IBM Portlet Unit. Have tested the same on sample they have provided.
PortletRunner runner = PortletRunner.createPortletRunner(portletClass, webInfDir, "SuperWallPortlet");
But, in my workspace i couldnt run the same it throws IOException with the above line. Any help will be appreciated.
Paul ., modificado hace 11 años.
RE: Portlet testing with PortletUnit
Liferay Master Mensajes: 522 Fecha de incorporación: 29/08/11 Mensajes recientes
Looks like an interesting framework for testing portlet, I was looking for something like it. Will give it a try. Can you give the full stack trace for your exception?