`cargo test`に`--test`オプションを指定する。
```console
cargo test --test integration_test
```
上記は`integration_test.rs`だけが対象であり、ファイル名の部分一致ではないので注意。また、`--test`の引数を指定しないと指定可能な一覧が表示される。
```console
$ cargo test --test
error: "--test" takes one argument.
Available tests:
integration2_test
integration_test
```