Liferay Portlet的单元测试 [英] Unit tests for Liferay portlets
本文介绍了Liferay Portlet的单元测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人知道如何为Liferay Portlet运行单元测试吗?我发现了很多关于它的帖子(例如
Does anyone know how to run unit tests for Liferay portlets? I have found a lot of posts about it (e.g. http://agile-reflections.opnworks.com/2010/06/portlet-unit-testing-with-liferay-6.html) but none works nonetheless.
推荐答案
这可能是过大的选择,但是如果您正在寻找一种通过持续集成测试的企业方法,则此博客提供了一个很好的示例:在Liferay上进行持续集成:在Tomcat 6捆绑软件上运行Selenium 2测试
This may be overkill, but if you're looking for an Enterprise approach with continuous integration testing, this blog gives a very good example: Continuous integration on Liferay: running your Selenium 2 tests on the Tomcat 6 bundle
这篇关于Liferay Portlet的单元测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文