spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Rosen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-7721) Generate test coverage report from Python
Date Mon, 17 Oct 2016 22:06:58 GMT

    [ https://issues.apache.org/jira/browse/SPARK-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583642#comment-15583642
] 

Josh Rosen commented on SPARK-7721:
-----------------------------------

IIRC when I looked into this I hit problems with the HTML Publisher Plugin not being able
to properly publish / serve HTML reports which weren't present on the Jenkins master because
the underlying files weren't being archived properly from the remote build workspaces. From
a cursory Google search, it looks like other folks have hit similar problems with this: https://issues.jenkins-ci.org/browse/JENKINS-6780
https://issues.jenkins-ci.org/browse/JENKINS-15301

Ideally we could use the Codecov service to aggregate and publish these reports. Last month
I opened a ticket with Apache Infra to ask about obtaining the token which would let us push
results to that service, but they haven't responded back to my latest comment yet: https://issues.apache.org/jira/browse/INFRA-12640

Alternatively, we could write some one-off shell to archive the reports to a public S3 bucket
and serve them as static files.

> Generate test coverage report from Python
> -----------------------------------------
>
>                 Key: SPARK-7721
>                 URL: https://issues.apache.org/jira/browse/SPARK-7721
>             Project: Spark
>          Issue Type: Test
>          Components: PySpark, Tests
>            Reporter: Reynold Xin
>
> Would be great to have test coverage report for Python. Compared with Scala, it is tricker
to understand the coverage without coverage reports in Python because we employ both docstring
tests and unit tests in test files. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message