留言板

Portlet testing with PortletUnit

Hari Dhanakoti,修改在11 年前。

Portlet testing with PortletUnit

New Member 帖子: 14 加入日期: 12-7-22 最近的帖子
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 .,修改在11 年前。

RE: Portlet testing with PortletUnit

Liferay Master 帖子: 522 加入日期: 11-8-29 最近的帖子
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?