Replies: 1 comment 4 replies
-
For (1) and (2), it sounds like you are wanting hard lines between tests that are "unit" ,"integration", "doc test", etc. I'm not sure those distinctions are worth bubbling up to the top. I'd want to know more of why that is important.
Again, this seems to be solution driven. What problem are you looking to solve? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Optimized display of test results
When trying to test using cargo:
When
#[test]
and#[bench]
exist at the same time, the results of the other party will be included whencargo test/bench
is executed. I think this shouldn't be mixed up and should be better presented.I have been asked more than once where are the results of the unit test and where are the results of the integration test after executing the test. The current display content is not very clear. I think that in addition to adding a progress bar during the test , if there is a table summarizing the test after the test (including: unit test, Integration testing and documentation testing), that's pretty good.
In addition, are you considering adding the generated test report
./target/test_report
? In this report, can increase the related reporting behavior of the test coverage.(like support: https://crates.io/crates/cargo-llvm-cov)Beta Was this translation helpful? Give feedback.
All reactions