Skip to content

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

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.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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