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

[nextest-runner] move some code around #1947

Merged
merged 8 commits into from
Dec 5, 2024
Merged

Conversation

sunshowers
Copy link
Member

No functional changes in this code -- this is pure code movement.

Going to start moving code out of this into separate modules in upcoming
commits.
This is part of the external interface, so it should live in
`reporter/events.rs`.
Reporter event types are special and numerous, and for ease of understanding it
is easier to put them into their own module.
More thinning out of `runner/imp.rs`.
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

Attention: Patch coverage is 67.06827% with 164 lines in your changes missing coverage. Please review.

Project coverage is 79.97%. Comparing base (672399e) to head (1b13ea0).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
nextest-runner/src/runner/unix.rs 44.44% 90 Missing ⚠️
nextest-runner/src/reporter/events.rs 88.54% 30 Missing ⚠️
nextest-runner/src/runner/imp.rs 17.24% 24 Missing ⚠️
nextest-runner/src/runner/internal_events.rs 56.81% 19 Missing ⚠️
nextest-runner/src/helpers.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1947      +/-   ##
==========================================
- Coverage   79.97%   79.97%   -0.01%     
==========================================
  Files          84       86       +2     
  Lines       22208    22217       +9     
==========================================
+ Hits        17760    17767       +7     
- Misses       4448     4450       +2     

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

…nts.rs

Even more thinning out of `runner/imp.rs`.
…Status

Simplify this part of the code a bit.
Add `runner/internal_events.rs`, and move some types into this module.
@sunshowers sunshowers merged commit 52ac8bb into nextest-rs:main Dec 5, 2024
17 checks passed
@sunshowers sunshowers deleted the moves branch December 6, 2024 21:38
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