Skip to content

test: cover printBackupFileLocation stdout and path handling#690

Merged
miparnisari merged 1 commit intoauthzed:mainfrom
ivanauth:test/issue-688-print-backup-location
May 5, 2026
Merged

test: cover printBackupFileLocation stdout and path handling#690
miparnisari merged 1 commit intoauthzed:mainfrom
ivanauth:test/issue-688-print-backup-location

Conversation

@ivanauth
Copy link
Copy Markdown
Contributor

@ivanauth ivanauth commented May 4, 2026

Follow-up to #688 addressing #688 (review).

Adds tests for printBackupFileLocation covering:

  • destination - (stdout) → no output
  • relative filename → resolved to absolute path on stderr
  • absolute filename → printed as-is on stderr

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.77%. Comparing base (37aca55) to head (d83aa44).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #690      +/-   ##
==========================================
+ Coverage   43.72%   43.77%   +0.04%     
==========================================
  Files          38       38              
  Lines        6193     6193              
==========================================
+ Hits         2708     2711       +3     
+ Misses       3203     3201       -2     
+ Partials      282      281       -1     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@miparnisari miparnisari force-pushed the test/issue-688-print-backup-location branch from 84167fd to d83aa44 Compare May 5, 2026 17:33
@miparnisari miparnisari merged commit b0cdc17 into authzed:main May 5, 2026
13 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants