Forums de discussion

JUnit with Portlets

thumbnail
Abdelrahman Mohamed El Ghanam, modifié il y a 13 années.

JUnit with Portlets

Junior Member Publications: 41 Date d'inscription: 30/09/10 Publications récentes
Did anyone ever try to unit test the portlet methods that are generated by Service builder? Because i developed my own Custom SQL and when i was trying to unit test these methods i ran into the issue of that the JUnit can get the services (as they are deployed on the application server)

So my question is how to use JUnit when developing your own custom sql portlets ? If not then is there any other way ?


Thanks in advance...
thumbnail
Gavin Meyers, modifié il y a 13 années.

RE: JUnit with Portlets (Réponse)

New Member Publications: 9 Date d'inscription: 16/02/09 Publications récentes
Hi

Check the following urls:

Unit Testing in Liferay

Junit with Liferay


Hope it helps

Regards
Gavin
thumbnail
Abdelrahman Mohamed El Ghanam, modifié il y a 13 années.

RE: JUnit with Portlets

Junior Member Publications: 41 Date d'inscription: 30/09/10 Publications récentes
Thanks alot Gavin, i will try them and post you back.