You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have unit tests covering all lines, implemented with actix_rt::test, .e.g:
#[actix_rt::test]asyncfntest_import_profile_is_current_by_id(){// ARRANGElet os = SUT::fast_boot().await;let p = Profile::sample();// ACT
os.with_timeout(|x| x.import_profile(p.clone())).await.unwrap();// ASSERTassert_eq!(os.profile().id(), p.id());}
I really love tarpaulin, it is very accurate, but it is quite unfortunate to get 60 falsly flagged missed lines. Hmm, any recommendations? Is await lines not supported to be counted?
The text was updated successfully, but these errors were encountered:
I'm using tarpaulin version
0.30.0
and have just introduced a lot of async code in my PR which results in ~70 falsely flagged "missed lines", see PR https://github.com/radixdlt/sargon/pull/131/checks?check_run_id=24955855717 or view in CodeCov (after you have signed in):https://app.codecov.io/gh/radixdlt/sargon/pull/131/blob/src/system/sargon_os/sargon_os_profile.rs
I have unit tests covering all lines, implemented with
actix_rt::test
, .e.g:I really love tarpaulin, it is very accurate, but it is quite unfortunate to get 60 falsly flagged missed lines. Hmm, any recommendations? Is
await
lines not supported to be counted?The text was updated successfully, but these errors were encountered: