How to test actual rendered HTML from your Portal JSP pages and taglibs, without the need to start a web container.
Your workspace must have a working "portal-master" project.
Eclipse, "Import", "Existing Maven project".
Run the tests using the liferay-portal-jsp-unit-test
launch configuration.
If you ever need to configure a new Liferay Portal JSP Unit Test project from scratch.
Required projects in the build path -> portal-master
Libraries -> portlet.jar - portal-master/lib/global
Classpath, User Entries -> Maven Dependencies
before liferay-portal-jsp-unit-test
Source, Source Lookup Path -> portal-master
before Default
Adapted from work by Günther Enthaler, who wrote the original Jetty JSP unit test simple example.