Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

even more prep work #1931

Merged
merged 2 commits into from
Dec 1, 2024
Merged

even more prep work #1931

merged 2 commits into from
Dec 1, 2024

Conversation

sunshowers
Copy link
Member

Quite happy with the child error management refactor.

…Status

Carrying around a second parameter doesn't seem very useful.
Copy link

codecov bot commented Dec 1, 2024

Codecov Report

Attention: Patch coverage is 74.33460% with 135 lines in your changes missing coverage. Please review.

Project coverage is 80.16%. Comparing base (fb888d1) to head (f8f98d3).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
nextest-runner/src/reporter/error_description.rs 80.00% 79 Missing ⚠️
nextest-runner/src/reporter/aggregator.rs 0.00% 21 Missing ⚠️
cargo-nextest/src/dispatch.rs 0.00% 15 Missing ⚠️
nextest-runner/src/runner.rs 80.95% 8 Missing ⚠️
nextest-runner/src/reporter/events.rs 50.00% 5 Missing ⚠️
nextest-runner/src/errors.rs 0.00% 4 Missing ⚠️
nextest-runner/src/reporter/displayer.rs 88.88% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1931      +/-   ##
==========================================
+ Coverage   80.00%   80.16%   +0.16%     
==========================================
  Files          81       82       +1     
  Lines       21086    21144      +58     
==========================================
+ Hits        16869    16950      +81     
+ Misses       4217     4194      -23     

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

I realized that we need a central way to identify and manage all the different
ways in which a test or script can error out. Add a `UnitErrorDescription`
struct which is responsible for all this management.
@sunshowers sunshowers merged commit 4633be8 into nextest-rs:main Dec 1, 2024
19 checks passed
@sunshowers sunshowers deleted the child-errors-2 branch December 1, 2024 22:51
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.

1 participant