Skip to content

Increase test coverage - #421

Draft
astanin wants to merge 12 commits into
masterfrom
dev/more-test-coverage
Draft

Increase test coverage#421
astanin wants to merge 12 commits into
masterfrom
dev/more-test-coverage

Conversation

@astanin

Copy link
Copy Markdown
Owner

Depends on pull request #419 .

fix#173
New CLI parameter:
--headers HEADERS
where HEADERS can be "firstrow", "keys", "HEADER1,HEADER2,...", "KEY1:HEADER1,KEY2:HEADER2,..."
--read FILEFORMAT
where FILEFORMAT can be "rsv" (default), "csv", "jsonl"
Deprecated CLI parameter:
--header
Usage examples:
cat ./examples/people.csv | tabulate -r csv --headers firstrow
id name email "favorite" fruit
---- ------ ----------------- ------------------
1 Alice alice@example.com apple, kiwi
2 Bob bob@example.com banana,
orange,
lychee
3 Carol pear
cat ./examples/people.jsonl | tabulate -r jsonl -f grid --headers 'id:ID,name:First Name,email:Email'
+------+--------------+-------------------+
| ID | First Name | Email |
+======+==============+===================+
| 1 | Alice | alice@example.com |
+------+--------------+-------------------+
| 2 | Bob | bob@example.com |
+------+--------------+-------------------+
- old tests: launch tabulate via subprocess (still necessary)
- new tests: the same checks for coverage reports
@codecov

codecovBot commented Mar 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.92%. Comparing base (2070736) to head (38c5029).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@## master #421 +/- ##
===========================================
+ Coverage 84.43% 94.92% +10.48% 
===========================================
Files 1 2 +1 Lines 906 946 +40 Branches 218 227 +9 ===========================================
+ Hits 765 898 +133 + Misses 107 25 -82 + Partials 34 23 -11 

☔ 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.

Sign up for freeto 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.

1 participant

@astanin