flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5092) Add integration with Sonarqube and code coverage
Date Fri, 25 Nov 2016 08:22:58 GMT

    [ https://issues.apache.org/jira/browse/FLINK-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15695241#comment-15695241

ASF GitHub Bot commented on FLINK-5092:

Github user BorisOsipov commented on the issue:

    I tried to use late property evaluation approach in `argLine`.
    Unfortunately, it doesn't work well with different profiles. In some cases it breaks test
run by maven without a coverage profile. In other case it breaks run tests from IDE.
    Finally, I came back to the first version with `argLine` as property. I tested it with\without
coverage profile. I didn't find any problems or changes in tests run.
    There is no problem with inheritance of Surefire configuration.
    I didn't change JVM memory options in `argLine` to keep the current behavior as is.
    I introduced `mvn.forkNumber` as a system property instead of the parameter in argLine.(this
property is used to correct logging)

> Add integration with Sonarqube and code coverage
> ------------------------------------------------
>                 Key: FLINK-5092
>                 URL: https://issues.apache.org/jira/browse/FLINK-5092
>             Project: Flink
>          Issue Type: Improvement
>          Components: Tests
>            Reporter: Boris Osipov
>            Assignee: Boris Osipov
> It would be good to have the opportunity to generate test coverage reports for Flink
and analyze code by SonarQube.
> Parts of tasks:
> - add generate test coverage reports for Flink with new maven profile
> - implement integration with https://analysis.apache.org/

This message was sent by Atlassian JIRA

View raw message