Skip to content

Adding negative tests for partial read workflow#115

Merged
jm9176 merged 2 commits into
mainfrom
partial_read_negative_tests
Jul 14, 2025
Merged

Adding negative tests for partial read workflow#115
jm9176 merged 2 commits into
mainfrom
partial_read_negative_tests

Conversation

@jm9176

@jm9176 jm9176 commented Jul 10, 2025

Copy link
Copy Markdown
Member

Addressing the todo items for using negative inputs with partial read workflows.

@jm9176 jm9176 requested a review from krisfed July 10, 2025 18:50
@codecov

codecov Bot commented Jul 10, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.11%. Comparing base (350881d) to head (ef351ba).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #115   +/-   ##
=======================================
  Coverage   97.11%   97.11%           
=======================================
  Files           8        8           
  Lines         243      243           
=======================================
  Hits          236      236           
  Misses          7        7           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread test/tZarrRead.m

%TODO: negative values, wrong datatypes, out of bounds

wrongDims = [1,1,1];

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe add a comment here that the number of dimensions is wrong? I understand making the variable name shorter, but without that information it can be hard to quickly figure out what is "wrong" about these dimensions.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Updated comment.

@jm9176 jm9176 requested a review from krisfed July 14, 2025 13:59
Comment thread test/tZarrRead.m
inpVal = [100 200];
errID = 'MATLAB:Python:PyException';
testcase.verifyError(@()zarrread(zpath,"Start",inpVal),errID);
%testcase.verifyError(@()zarrread(zpath,"Stride",inpVal),errID);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why is this one commented out?

@krisfed krisfed left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, Shubh!

@jm9176 jm9176 merged commit 9efc959 into main Jul 14, 2025
6 checks passed
@jm9176 jm9176 deleted the partial_read_negative_tests branch January 9, 2026 18:39
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