Fórum
Portlet testing with PortletUnit
Hari Dhanakoti, modificado 11 Anos atrás.
Portlet testing with PortletUnit
New Member Postagens: 14 Data de Entrada: 22/07/12 Postagens Recentes
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 11 Anos atrás.
RE: Portlet testing with PortletUnit
Liferay Master Postagens: 522 Data de Entrada: 29/08/11 Postagens Recentes
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?