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

test: improve tests for row #906

Merged
merged 18 commits into from
Jul 18, 2024

Conversation

Muellersen
Copy link
Contributor

Closes #872

Summary of Changes

This pull request improves the tests for rows and lazyVectorizedRows.

Copy link
Contributor

github-actions bot commented Jul 12, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 16 0 0 1.04s
✅ PYTHON mypy 16 0 1.65s
✅ PYTHON ruff 16 0 0 0.37s
✅ REPOSITORY git_diff yes no 0.35s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Copy link

codecov bot commented Jul 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.12%. Comparing base (ee1aea0) to head (6054ee6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #906      +/-   ##
==========================================
+ Coverage   97.91%   98.12%   +0.21%     
==========================================
  Files         122      122              
  Lines        6895     6895              
==========================================
+ Hits         6751     6766      +15     
+ Misses        144      129      -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lars-reimann lars-reimann changed the title feat: improve tests for row and lazyvectorizedrow test: improve tests for row Jul 12, 2024
Copy link
Member

@lars-reimann lars-reimann left a comment

Choose a reason for hiding this comment

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

Two lines of _LazyVectorizedRow.__eq__ are missing. Would be nice to cover those as well: https://app.codecov.io/gh/Safe-DS/Library/pull/906/blob/src/safeds/data/tabular/containers/_lazy_vectorized_row.py

Looks perfect otherwise.

Copy link
Member

@lars-reimann lars-reimann left a comment

Choose a reason for hiding this comment

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

Excellent, thank you.

@lars-reimann lars-reimann merged commit c485987 into main Jul 18, 2024
1 of 2 checks passed
@lars-reimann lars-reimann deleted the 872-improve-tests-for-row-and-_lazyvectorizedrow branch July 18, 2024 10:03
@lars-reimann
Copy link
Member

🎉 This PR is included in version 0.27.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Included in a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve tests for Row and _LazyVectorizedRow
4 participants