Foren

Portlet testing with PortletUnit

Hari Dhanakoti, geändert vor 11 Jahren.

Portlet testing with PortletUnit

New Member Beiträge: 14 Beitrittsdatum: 22.07.12 Neueste Beiträge
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.
thumbnail
Paul ., geändert vor 11 Jahren.

RE: Portlet testing with PortletUnit

Liferay Master Beiträge: 522 Beitrittsdatum: 29.08.11 Neueste Beiträge
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?