~/talk

Missing Testing Features in Rust

Talkat LambdaConf 2025 · 2025-05-12..05-13· [rust, testing]
links:none on file
slides:none on file

A new Rust test framework called test-r implements shared dependencies (async constructors scoped per module), a dependency matrix for generating many permutations, and dynamic test generators that act like static tests; it runs under cargo test, integrates with IDE test views (works in IntelliJ/Rust Analyzer, not VS Code), supports async tests, and is used in Golem Cloud CI. Tradeoff: output capturing, parallelism and truly global shared instances cannot all be enabled simultaneously, so the runner spawns child processes to preserve capture.

AI-written summary · about

  1. 0:00Introduction
  2. 0:43Past testing frameworks
  3. 3:35Scala and Zo testing
  4. 4:58Golem’s testing needs
  5. 7:04Introducing Tester
  6. 7:24Tester core features
  7. 9:14Shared dependencies in Tester
  8. 12:02Dependency matrix and tags
  9. 14:30Flaky tests and control
  10. 15:34Dynamic test generation
  11. 16:36How Tester works
  12. 18:07Output capturing
  13. 20:55Future plans
  14. 22:21Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.