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
It seems that creating/asserting mocks inside doctests can produce flickering test runs. The two flickering tests are the ones under # Asserts in src/lib.rs. For some reason, doctests seem to be treated differently than unit tests in Rust.
The current workaround is to run doctests separately from unit tests with cargo test --doc -- --test-threads=1.
The text was updated successfully, but these errors were encountered:
It seems that creating/asserting mocks inside doctests can produce flickering test runs. The two flickering tests are the ones under
# Asserts
insrc/lib.rs
. For some reason, doctests seem to be treated differently than unit tests in Rust.The current workaround is to run doctests separately from unit tests with
cargo test --doc -- --test-threads=1
.The text was updated successfully, but these errors were encountered: