Skip to content

Python: Add more unit tests to remain 90% test coverage result #7149

@JonasJ-ap

Description

@JonasJ-ap

Feature Request / Improvement

In #6398, python unit tests are separated into three groups: unmarked, s3, and adlfs. This cause the overall test coverage of unmarked group (majority) drops from 90% to 88%. We may want to add more tests or revise the Makefile to make more tests count when computing the test coverage.

iceberg/python/Makefile

Lines 28 to 33 in ef6b1da

test:
poetry run coverage run --source=pyiceberg/ -m pytest tests/ -m unmarked ${PYTEST_ARGS}
poetry run coverage report -m --fail-under=90
poetry run coverage html
poetry run coverage xml

Query engine

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions