New feature: capture recent logs for testing (rework)#1149
Merged
josecelano merged 1 commit intotorrust:developfrom Dec 23, 2024
Merged
New feature: capture recent logs for testing (rework)#1149josecelano merged 1 commit intotorrust:developfrom
josecelano merged 1 commit intotorrust:developfrom
Conversation
This feature will be used in the future to write assertions about logs. It also changes when we show logs running tests. If you run tests with: ```console cargo test ``` logs win't be showed. If you want to see logs you have to execute tests with: ```console cargo test -- --nocapture ```
ff835fe to
d11ab32
Compare
Member
Author
|
ACK d11ab32 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1149 +/- ##
===========================================
- Coverage 76.24% 76.13% -0.12%
===========================================
Files 173 173
Lines 11543 11551 +8
Branches 11543 11551 +8
===========================================
- Hits 8801 8794 -7
- Misses 2579 2590 +11
- Partials 163 167 +4 ☔ View full report in Codecov by Sentry. |
1 task
This was referenced Dec 23, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to:
This feature will be used in the future to write assertions about logs.
It also changes when we show logs running tests. If you run tests with:
cargo testlogs won't be shown. If you want to see the logs you have to execute tests
with:
cargo test -- --nocapture