Skip to content

Add dedicated edge-case tests for exported _data() functions#521

Open
utkarshpawade wants to merge 4 commits intostan-dev:masterfrom
utkarshpawade:test/data-functions-edge-cases
Open

Add dedicated edge-case tests for exported _data() functions#521
utkarshpawade wants to merge 4 commits intostan-dev:masterfrom
utkarshpawade:test/data-functions-edge-cases

Conversation

@utkarshpawade
Copy link
Copy Markdown
Contributor

@utkarshpawade utkarshpawade commented Mar 28, 2026

Fixes #520

Summary

  • Adds test-data-functions-edge-cases.R covering edge cases not tested elsewhere
  • Tests single observation, single draw, zero-length inputs, and alternative code paths for all exported _data() functions

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.67%. Comparing base (94a2ac5) to head (ed8b058).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #521   +/-   ##
=======================================
  Coverage   98.67%   98.67%           
=======================================
  Files          35       35           
  Lines        5903     5903           
=======================================
  Hits         5825     5825           
  Misses         78       78           

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

Missing dedicated edge-case tests for exported _data() functions

2 participants