Forums

Home » Liferay Portal » English » 3. Development

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

Hari Dhanakoti

Rank: New Member

Posts: 14

Join Date: July 21, 2012

Recent Posts

Hi,

I am now trying to test the portlet using PortletUnit based on [url="http://www.ibm.com/developerworks/web/library/wa-portletunit/?ca=dnw-1116&ca=dth-wd"]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
Answer

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?