🦀
Rust Cookbook
  • Introduction
  • Rust Introduction
  • Collections
    • Hashing
  • Text Processing
    • Splitting a string
    • Converting a string to vectors and back
    • Twoway
  • Benchmarking
    • criterion
  • Testing
  • Package Management
    • Cargo workspaces
  • Concurrent Programming
    • Actor model
      • Actix actors
      • Bastion
  • Parallel Programming
    • Ryaon
  • Optimisations
    • Cache alignment
  • TODO
Powered by GitBook
On this page

Testing

How to get output from tests with cargo test?

Provide nocapture option as an argument to cargo test, as follows.

cargo test -- --nocapture
PreviouscriterionNextPackage Management

Last updated 5 years ago