Skip to content

Value::from and full code lines coverage#498

Merged
juntyr merged 10 commits into
ron-rs:masterfrom
juntyr:full-coverage
Sep 5, 2023
Merged

Value::from and full code lines coverage#498
juntyr merged 10 commits into
ron-rs:masterfrom
juntyr:full-coverage

Conversation

@juntyr

@juntyr juntyr commented Sep 4, 2023

Copy link
Copy Markdown
Member

This PR adds more tests to bring ron to 100% code lines coverage.

The PR also implements convenient From impls for Value, e.g. Value::from(bool) and Value::from("my-str").

  • I've included my change in CHANGELOG.md

@codecov-commenter

codecov-commenter commented Sep 4, 2023

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (9ecb1e5) to head (d44413e).
⚠️ Report is 58 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           master      #498      +/-   ##
===========================================
+ Coverage   99.40%   100.00%   +0.59%     
===========================================
  Files          78        78              
  Lines       10592     11053     +461     
===========================================
+ Hits        10529     11053     +524     
+ Misses         63         0      -63     

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

@juntyr juntyr marked this pull request as ready for review September 5, 2023 06:46
@juntyr juntyr changed the title Full coverage Value::from and full code lines coverage Sep 5, 2023
@juntyr

juntyr commented Sep 5, 2023

Copy link
Copy Markdown
Member Author

?r @torkleyy It is possible - 100% code lines coverage 🎆 Do the Value::from impls look ok?

@torkleyy torkleyy 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.

Awesome! Looks good to me

@juntyr juntyr merged commit 2787d8c into ron-rs:master Sep 5, 2023
@juntyr juntyr deleted the full-coverage branch September 5, 2023 09:30
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.

3 participants