[ https://issues.apache.org/jira/browse/BEAM-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Beam JIRA Bot updated BEAM-1680: -------------------------------- Labels: beam-fixit stale-assigned (was: beam-fixit) > Uber-JIRA: Extend Python-SDK's unit test coverage > ------------------------------------------------- > > Key: BEAM-1680 > URL: https://issues.apache.org/jira/browse/BEAM-1680 > Project: Beam > Issue Type: Improvement > Components: sdk-py-core > Reporter: Tibor Kiss > Assignee: Tibor Kiss > Priority: P3 > Labels: beam-fixit, stale-assigned > > Some components of the Python-SDK has low coverage rate. > As of now ([ea33e33|https://github.com/apache/beam/tree/ea33e33]) the test > coverage looks as follows (excluding autocomplete_test.py): > {code} > Ran 1050 tests in 145.653s > OK (skipped=14) > py27gcp runtests: commands[5] | coverage report > Name > Stmts Miss Cover > ------------------------------------------------------------------------------------------------------ > apache_beam/__init__.py > 12 1 92% > apache_beam/coders/__init__.py > 2 0 100% > apache_beam/coders/coder_impl.py > 414 23 94% > apache_beam/coders/coders.py > 392 68 83% > apache_beam/coders/observable.py > 10 0 100% > apache_beam/coders/slow_stream.py > 105 6 94% > apache_beam/coders/typecoders.py > 69 6 91% > apache_beam/error.py > 7 0 100% > apache_beam/internal/__init__.py > 0 0 100% > apache_beam/internal/gcp/__init__.py > 0 0 100% > apache_beam/internal/gcp/auth.py > 75 39 48% > apache_beam/internal/gcp/json_value.py > 64 8 88% > apache_beam/internal/pickler.py > 96 10 90% > apache_beam/internal/util.py > 30 0 100% > apache_beam/io/__init__.py > 16 2 88% > apache_beam/io/avroio.py > 139 14 90% > apache_beam/io/concat_source.py > 134 10 93% > apache_beam/io/filebasedsource.py > 112 3 97% > apache_beam/io/fileio.py > 188 55 71% > apache_beam/io/filesystem.py > 184 23 88% > apache_beam/io/filesystems_util.py > 7 0 100% > apache_beam/io/gcp/__init__.py > 0 0 100% > apache_beam/io/gcp/bigquery.py > 418 29 93% > apache_beam/io/gcp/datastore/__init__.py > 0 0 100% > apache_beam/io/gcp/datastore/v1/__init__.py > 0 0 100% > apache_beam/io/gcp/datastore/v1/datastoreio.py > 170 33 81% > apache_beam/io/gcp/datastore/v1/fake_datastore.py > 38 2 95% > apache_beam/io/gcp/datastore/v1/helper.py > 126 8 94% > apache_beam/io/gcp/datastore/v1/query_splitter.py > 102 7 93% > apache_beam/io/gcp/gcsfilesystem.py > 109 11 90% > apache_beam/io/gcp/gcsio.py > 413 46 89% > apache_beam/io/gcp/internal/__init__.py > 0 0 100% > apache_beam/io/gcp/internal/clients/__init__.py > 0 0 100% > apache_beam/io/gcp/internal/clients/bigquery/__init__.py > 9 2 78% > apache_beam/io/gcp/internal/clients/bigquery/bigquery_v2_client.py > 116 65 44% > apache_beam/io/gcp/internal/clients/bigquery/bigquery_v2_messages.py > 459 0 100% > apache_beam/io/gcp/internal/clients/storage/__init__.py > 9 2 78% > apache_beam/io/gcp/internal/clients/storage/storage_v1_client.py > 165 71 57% > apache_beam/io/gcp/internal/clients/storage/storage_v1_messages.py > 507 0 100% > apache_beam/io/gcp/pubsub.py > 27 4 85% > apache_beam/io/iobase.py > 151 27 82% > apache_beam/io/localfilesystem.py > 102 2 98% > apache_beam/io/range_trackers.py > 265 22 92% > apache_beam/io/textio.py > 151 13 91% > apache_beam/io/tfrecordio.py > 87 4 95% > apache_beam/metrics/__init__.py > 1 0 100% > apache_beam/metrics/cells.py > 129 21 84% > apache_beam/metrics/execution.py > 87 2 98% > apache_beam/metrics/metric.py > 96 6 94% > apache_beam/metrics/metricbase.py > 21 3 86% > apache_beam/pipeline.py > 241 18 93% > apache_beam/pvalue.py > 146 12 92% > apache_beam/runners/__init__.py > 8 0 100% > apache_beam/runners/api/__init__.py > 0 0 100% > apache_beam/runners/api/beam_runner_api_pb2.py > 370 0 100% > apache_beam/runners/common.py > 237 35 85% > apache_beam/runners/dataflow/__init__.py > 0 0 100% > apache_beam/runners/dataflow/dataflow_metrics.py > 67 10 85% > apache_beam/runners/dataflow/dataflow_runner.py > 327 136 58% > apache_beam/runners/dataflow/internal/__init__.py > 0 0 100% > apache_beam/runners/dataflow/internal/apiclient.py > 351 134 62% > apache_beam/runners/dataflow/internal/clients/__init__.py > 0 0 100% > apache_beam/runners/dataflow/internal/clients/dataflow/__init__.py > 9 2 78% > apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_client.py > 148 40 73% > apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_messages.py > 1043 0 100% > apache_beam/runners/dataflow/internal/clients/dataflow/message_matchers.py > 62 13 79% > apache_beam/runners/dataflow/internal/dependency.py > 226 69 69% > apache_beam/runners/dataflow/internal/names.py > 54 0 100% > apache_beam/runners/dataflow/native_io/__init__.py > 0 0 100% > apache_beam/runners/dataflow/native_io/iobase.py > 95 46 52% > apache_beam/runners/direct/__init__.py > 2 0 100% > apache_beam/runners/direct/bundle_factory.py > 75 5 93% > apache_beam/runners/direct/clock.py > 17 6 65% > apache_beam/runners/direct/consumer_tracking_pipeline_visitor.py > 25 0 100% > apache_beam/runners/direct/direct_metrics.py > 55 0 100% > apache_beam/runners/direct/direct_runner.py > 83 2 98% > apache_beam/runners/direct/evaluation_context.py > 143 5 97% > apache_beam/runners/direct/executor.py > 304 14 95% > apache_beam/runners/direct/helper_transforms.py > 48 0 100% > apache_beam/runners/direct/transform_evaluator.py > 246 29 88% > apache_beam/runners/direct/transform_result.py > 26 0 100% > apache_beam/runners/direct/watermark_manager.py > 129 2 98% > apache_beam/runners/pipeline_context.py > 42 0 100% > apache_beam/runners/runner.py > 142 31 78% > apache_beam/transforms/__init__.py > 6 0 100% > apache_beam/transforms/combiners.py > 282 23 92% > apache_beam/transforms/core.py > 558 75 87% > apache_beam/transforms/cy_combiners.py > 195 102 48% > apache_beam/transforms/display.py > 118 11 91% > apache_beam/transforms/ptransform.py > 294 29 90% > apache_beam/transforms/sideinputs.py > 35 1 97% > apache_beam/transforms/timeutil.py > 57 13 77% > apache_beam/transforms/trigger.py > 599 72 88% > apache_beam/transforms/util.py > 80 1 99% > apache_beam/transforms/window.py > 210 25 88% > apache_beam/typehints/__init__.py > 3 0 100% > apache_beam/typehints/decorators.py > 170 9 95% > apache_beam/typehints/opcodes.py > 157 20 87% > apache_beam/typehints/trivial_inference.py > 262 38 85% > apache_beam/typehints/typecheck.py > 96 1 99% > apache_beam/typehints/typehints.py > 401 38 91% > apache_beam/utils/__init__.py > 2 0 100% > apache_beam/utils/annotations.py > 21 0 100% > apache_beam/utils/counters.py > 58 31 47% > apache_beam/utils/path.py > 6 0 100% > apache_beam/utils/pipeline_options.py > 169 7 96% > apache_beam/utils/pipeline_options_validator.py > 94 1 99% > apache_beam/utils/processes.py > 22 0 100% > apache_beam/utils/proto_utils.py > 19 0 100% > apache_beam/utils/retry.py > 68 3 96% > apache_beam/utils/timestamp.py > 105 2 98% > apache_beam/utils/urns.py > 7 0 100% > apache_beam/utils/windowed_value.py > 42 3 93% > apache_beam/version.py > 2 0 100% > ------------------------------------------------------------------------------------------------------ > TOTAL > 14673 1762 88% > {code} > CC: [~altay] -- This message was sent by Atlassian Jira (v8.3.4#803005)