LoginSignup
3
2

More than 5 years have passed since last update.

Rustのテストを並列実行しない

Posted at

cargo testは各テストケースを並列実行する。
ディレクトリや環境変数などの状態が影響するテストが複数あるときは、--test-threads=1のオプションをつける。

$ cargo test -- --test-threads=1

Running tests - Running tests - The Rust Programming Language

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2