Fórum

Sonar Configuration in Liferay 7

Gohel Manoj, modificado 7 Anos atrás.

Sonar Configuration in Liferay 7

New Member Postagens: 18 Data de Entrada: 29/01/16 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Sonar Configuration in Liferay 7

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
For building your own plugins or do you mean running it against the core?
Gohel Manoj, modificado 7 Anos atrás.

RE: Sonar Configuration in Liferay 7

New Member Postagens: 18 Data de Entrada: 29/01/16 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Sonar Configuration in Liferay 7

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
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.