Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hari Dhanakoti
Portlet testing with PortletUnit
August 2, 2012 11:26 PM

Hari Dhanakoti

Rank: New Member

Posts: 14

Join Date: July 21, 2012

Recent Posts


I am now trying to test the portlet using PortletUnit based on [url=""]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.
Bart Simpson
RE: Portlet testing with PortletUnit
August 3, 2012 12:00 AM

Bart Simpson

Rank: Liferay Master

Posts: 524

Join Date: August 29, 2011

Recent Posts

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?

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!