문제

I am trying to configure SonarQube with Codename One project on Netbeans. I am able to generate code complexity and Rule compliance report. But sonar is unable to identify unit test cases. Any special steps required for unit testing coverage?

도움이 되었습니까?

해결책

I'm not familiar with SonarQube at all so I'm not sure if this will help but Codename One does have a unit test API of its own and test recorder that is probably not supported by SonarQube: http://www.codenameone.com/3/post/2012/12/test-it.html

The reason for not using JUnit and other such harnesses is that they usually rely on reflection to get the job done and that's a problem for on device testing across platforms.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top