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

[WIP] [nextest-runner] initial support for recording runs #1265

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sunshowers
Copy link
Member

@sunshowers sunshowers commented Jan 29, 2024

Gated behind an environment variable for now.

TODO:

  • Code to read test runs (probably in a separate PR)
  • Tests
  • Docs
  • Factor out code to handle experimental features (probably in a separate PR)
  • Migrate store.dir to {target_dir}/nextest (stabilization is blocked on this)
  • Remove write_meta, replace with RunStarted or another meta event.
  • Factor out global_store_dir.

Gated behind an environment variable.
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

Attention: 856 lines in your changes are missing coverage. Please review.

Comparison is base (92522ce) 77.84% compared to head (a50803c) 74.34%.

Files Patch % Lines
nextest-runner/src/run_store.rs 0.00% 734 Missing ⚠️
nextest-runner/src/reporter/structured/recorder.rs 0.00% 67 Missing ⚠️
cargo-nextest/src/dispatch.rs 48.38% 16 Missing ⚠️
nextest-runner/src/reporter/structured.rs 61.53% 10 Missing ⚠️
nextest-runner/src/runner.rs 28.57% 10 Missing ⚠️
nextest-runner/src/config/config_impl.rs 88.09% 5 Missing ⚠️
nextest-runner/src/config/scripts.rs 0.00% 4 Missing ⚠️
cargo-nextest/src/errors.rs 0.00% 3 Missing ⚠️
nextest-runner/src/errors.rs 0.00% 3 Missing ⚠️
nextest-runner/src/time/stopwatch.rs 0.00% 3 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1265      +/-   ##
==========================================
- Coverage   77.84%   74.34%   -3.51%     
==========================================
  Files          72       74       +2     
  Lines       17656    18571     +915     
==========================================
+ Hits        13744    13806      +62     
- Misses       3912     4765     +853     

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

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