Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python] pytest-ify reindexer unit tests #2134

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

jp-dark
Copy link
Collaborator

@jp-dark jp-dark commented Feb 13, 2024

Issue and/or context:
#2091

Changes:
Uses pytest.parametrize, pytest.raises. and numpy.testing in the reindexer unit tests. Splits the pass/fail unit tests into separate test functions and inlines the testing logic.

Copy link

codecov bot commented Feb 13, 2024

Codecov Report

Merging #2134 (283aa4b) into main (a4f68a8) will increase coverage by 9.25%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2134      +/-   ##
==========================================
+ Coverage   82.10%   91.35%   +9.25%     
==========================================
  Files          87       35      -52     
  Lines        8112     3794    -4318     
==========================================
- Hits         6660     3466    -3194     
+ Misses       1452      328    -1124     
Flag Coverage Δ
python 91.35% <ø> (+0.64%) ⬆️
r ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api 91.35% <ø> (+0.64%) ⬆️
libtiledbsoma ∅ <ø> (∅)

@johnkerl johnkerl changed the title [python] Pytest-ify reindexer unit tests [python] pytest-ify reindexer unit tests Feb 13, 2024
Copy link
Member

@johnkerl johnkerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

💥

@jp-dark jp-dark merged commit f2eb946 into main Feb 14, 2024
11 checks passed
@jp-dark jp-dark deleted the dark/pytestify-reindexer branch February 14, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants