Tags / 5 posts

#testing

2022 1 post

  1. Property-Based Testing in Rust with Arbitrary

    Random vehicles generated by arbitrary and arbtest uncover a failing u32 to i32 conversion that a hand-written round-trip test missed.

2018 1 post

  1. How to fix intermittent test failures

    Bisect a test run to find the test that leaks state, then fix flaky tests that rely on undefined ordering or on the current time.

2017 1 post

  1. How to run Rust tests automatically

    Rerun cargo test on every save with cargo watch, or use cargo-testify to get each result as a desktop notification.

2012 2 posts