留言板

Sonar Configuration in Liferay 7

Gohel Manoj,修改在7 年前。

Sonar Configuration in Liferay 7

New Member 帖子: 18 加入日期: 16-1-29 最近的帖子
Hi,

I am new to Liferay.

I want to integrate Sonar into Liferay 7.

How can i do that.?

Please help me.

Thanks in advance
thumbnail
David H Nebinger,修改在7 年前。

RE: Sonar Configuration in Liferay 7

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
For building your own plugins or do you mean running it against the core?
Gohel Manoj,修改在7 年前。

RE: Sonar Configuration in Liferay 7

New Member 帖子: 18 加入日期: 16-1-29 最近的帖子
Thanks for your reply,

I am doing module in Liferay 7. I had successfully complete the module-portlet now i want to test code quality using sonar.
so how can i setup sonar for test as a beginner

I building own module
thumbnail
David H Nebinger,修改在7 年前。

RE: Sonar Configuration in Liferay 7

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Well the easiest thing to do is not try to do this in a deployed module, instead build out mocks to external dependencies and build out comprehensive test cases that put all of the code to use.

Then it's just a matter of configuring sonar in you build tool.